avoid hardcoding Java option values + cosmetic changes

Cleanup for https://github.com/hpcugent/easybuild-easyblocks/pull/181, while maintaining backward compatibility, i.e. the current `MATLAB-2012b.eb` easyconfig is not broken in any way (I verified this).
Also, the desired flexibility w.r.t. `$_JAVA_OPTIONS` is available.