[BZ 1069648] Persist JAVA_OPTS from connection settings for Standalone se...

...rvers.
It can be done for local too, leaving this in just for depth of the feature.