[bug951709] - Changed HOSTNAME to APP_HOSTNAME in env and related files

-> https://bugzilla.mozilla.org/show_bug.cgi?id=951709