Modifies Gson Provider to expose itself as API.

Also makes the GsonProvider's gson exchangeable with set/get methods.
Configures travis build to use Java 7