switch to docker based travis build and adds caching for local .m2 repository
(cherry picked from commit 37ee51f)
fixes dockerfiles and create a fig config. updates mongo and greylog. adds jaxrs2-json-provider to jaxrs2 example so it can render its output as json.