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

fixed the release script test

added a PR guard for travis setup

added comments to clarify memory settings in profile.d script

removed a comment in the code