Don't store pid in database

The whole point of hashids is that they are a two way hash to a integer
id. I've switched the getting code to decrypt the hashid and then use
the id rather than looking up directly.
Ignore some more files
Move schema into code

I've migrated the schema creation and dropping into clojure using lobos.
While do this I also added a sqlite backing to gallery.
Add first user integration test