support for both memory models java 7 and java 8
reporting the number of cores in the management gui - #4958
refactoring in preparation for #3471 (cdmlib-remote-webapp instances can be stopped / started individually)