java port + mapr v2 with dynamic policy and metrics collection

Note:
- includes a working dynamic policy that increases and decreased cluster size on hdfs usage
- uses map 2.1.1
- installs and configures mapr metrics collection using mysql
- ported to java

TODO:
- java port would benefit from some improvement (too many groovyisms)
- allow to configure initial dynamic cluster size and location (just uses default)