Renamed pcapdj_<timestamp>.txt state file to pcapdj_states_<timestamp>.txt

Reason: Easier file processing
Remove trailing slash from statedir if specified
Added a function to search for old state files
Return a list of sorted state files
Forgot to record sorted list

Also disabled debug messages
print sorted filelist
List the most recent state files first
Select the most recent state file name
Function to load a state file
fixed segfault when no state files were found
Fixed state file format such that it can be loaded by key-value parser
update stats structure based on key value file
Process lastprocessed files first
Respect offset when processing a file
Adjust lastprocessed file in waiting mode
updated todo list