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.