CLOUDIFY-2288

1. Change tests to use the new rest API of deployments
2. renamed requests to requests_schema as it conflicts with python built in request module.