updated rest server api
Merged manager-REST server after updating the publish interface and fixing tests
Merge pull request #106 from CloudifySource/feature/CLOUDIFY-2266-cli-and-rest-integration

modified manager-rest's publish api and fixed tests