sqlite got case sensitive by default at some point - lowercase strings for comparing them
trim leading slashes more efficiently
regex and trimming updates for danbooru and lite themes
use upload_tmp_dir as temp place for transloading, see #297
update comment
unique IDs for 'posted' search params
Merge branch 'master' of https://github.com/shish/shimmie2