Add db maintenance routine. Move cleanup functions to maintenance module.
Check if file name is correct before creating db record. Log client ip address.
Rework delete function to allow for fixing vandalism acts.
Merge branch 'db_filename_check' of https://github.com/pfoltyn/infragram-sandbox
catching more spam by looking at non-existent filenames; still need to clean up bad records