Refactor setting buildpack env. variables as a framework

After re-factoring the environment variables will be setup through .profile.d/env.sh script and therefore will be exposed to the entire container (instead of just the Liberty runtime).