add variables compatile with Cloundfoundry and Heroku

add declaration of variables compatile with Cloundfoundry and Heroku so
a application ( like ethercalc ) can be run with fewer adaptation out of
the box.

More work is needed however for a full fledged support, like support
of database and services, where CloundFoundry us a json array, and
heroku use custom module.