Updated Gradle in Travis CI build config
Provided setter for encoding in RequestParams, closes #406