Added create_lock_file().

_set_valid_permissions() renamed to set_permissions().
proftpd monitor is now triggered by deleting of the "lock" file.

It can also change directory to read only during the processing of the
files.
Data structures moved into it's own file structures.py.