FIXED exceptions on error responses by adding ByteArrayProvider and related classes
ADDED build.gradle
UPDATED resteasy-mobile to use jackson 2
OPTIMIZED imports