Wip/h3nk3 j8 max perm size

New shot at this. Still trying to prevent setting ```MaxPermSize``` under Java 8.
This time less DRY and also uses the same parameters between the operating systems.

Please run this on all your weird *nix dialects and that other OS. 
Yeah, you know which one I mean @jsuereth :)