added cloudfoundry support

now user will be able to install iodocs on cloudfoundry without any changes to code.app was using process.env.REDISTOGO_URL to detect Heroku , I have used process.env.VCAP_SERVICES to detect cloudfoundry also.