Update Mesos to 0.21.0 and add option for pure java API code.

Add a configuration flag that allows switching between using the native library from Mesos and the
jesos pure java API. Default is to still use native code.

This also updates the mesos version to 0.21.0.
Move static resources into /assets subfolder.

Remove the weird "/static/static" folder.
Move the Singularity UI to a special "/ui" resource.

This frees up the root resource to be used for other things.
Make root resource configurable.

Add a new flag in the ui section: redirectRootToUi: true / false

If true, accessing the root URI of Singularity will redirect to the UI. If false, no redirection will
happen (and whatever other resource is configured for / will kick in. By default this is 404 (not found).
fix errors found in review
Add metrics for all JAX-RS resource endpoints.

This exposes metrics to the internal metrics registry.
api-docs rework
add grpn internal maven deploy
Use generic resource allocation instead of hardcoded cpu, memory, ports.
remove spurious class
fix 2
Add generic attribute matching to Singularity.
fix 3
Merge branch 'jesos-option' into work