support VCAP_SERVICES
fix unit test
Merge pull request #19 from easeway/deploy-to-cf

support VCAP_SERVICES