Update for Cloud Foundry v2.

Updated all samples and READMEs to work with Cloud Foundry v2 and the Pivotal hosted Cloud Foundry (http://run.pivotal.io).