Adding minimizeJar to shade plugin
Adding basic support for a different query format when purging, since we can't use joins and the LIMIT clause.

The query builder is exremely ugly and needs to be replaced with a real DBA. I've started a branch to try jOOQ, may possibly try ormLite, but this commit is to solve the query issues we need to properly get 2.x into beta.
Merge branch 'delete-query'