Added #include <unistd.h> to help with compiling on gentoo
Fixed bug with overwriting existing files
Scheduler now appends .N (where N is a number from 1) if the outputfile already exists.
last job number must be recalculated on reading the schedule
Default is now to record TS streamsCan use -P to specify program stream
Renamed lexer and parser
Automake step 1