server: better checking for, and handling of, duplicates on sync
server: track filehash of original ebook uploaded for duplicate check on sync
server: increment popularity on incoming duplicate
server: basic DB exception handling
server: switch to next() and iter() on filter queries
tests: minor fixes and renamed sync tests
tests: sync test for matching ogre_ids
tests: owner not needed in any tests
dev