fixed profile.d script

fixed a bug in profile.d script

bumped up the default heap size for PX dynos

reworked java_opts so that some remains in release script