Added a Heap-Slack parameter

This adds the option for users to define a fraction of the container memory that is not used for the JVM heap.

Also, some named parameters were moved out of being inner classes.
adding missing files
Fixing cast typo
Merge pull request #903 from Microsoft-CISL/weimer_jvm_slack

Added a Heap-Slack parameter