[cleanup] removed explicit commons codec dependency
[cleanup] moved joda-time dependency above test dependencies
[enhancement] added hamcrest lib
[task] deprecated old API, added minimal stub for new API
[task] added QueryBuilder and getters in Query
[cleanup] ordered members, typos, formatting
[task] added jersey client
[task] changed AuthService to use Jersey
[cleanup] changed to a plain old string for charset name
[cleanup] making final what has to be final
[cleanup] minor refactorings, cleanup
[task] changed AbstractOsiamService to use Jersey
[fix] added apache http client

jersey fails to send PATCH requests with Java HttpUrlConnection, so
apache http client is introduced.