changed db structure to support hashed ids and dropped tags table
changed auto stuff to use sha1 hash of file path as file id
minor refactoring on queue processing functions to use string id