[cleanup] deleted not used mockito dependency
Merge pull request #87 from dacrome/cleanup-dependencies

Cleanup dependencies
[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.
[task] deprecated retrieveAccessToken(HttpResponse)
[fix] using more specialized exceptions in catch clause
[fix] HTTP status 401 requires WWW-Authenticate header
[task] changed OsiamUserService to use Jersey
[fix] switched to jax-rs MediaType
[fix] set right headers for wiremock request stubs