Improved the code so that failure can be sent back to resource spawner

1.Used log function intead of print
2.Added file_path as a argument in createResourceYaml function
3.Removed the name component from all dictionary .
4.Changed list server_set ,earlier it was the list of dictionaries ,changed to list of strings
5.Used eval while updating dictionary.
6.Used wtYaml function to append data to file
7.Added return code 0 or 100 in createResourceYaml so that the failure can be sent back to resource spawner so that a rollback can be initiated.
Merge pull request #20 from amar266/fixed_yaml

Improved the code so that failure can be sent back to resource spawner
Fix the code to handle the change of temporary path

After changing tmp path from /tmp, fab functions had issues, Fixed those issues.
Merge pull request #17 from hkumarmk/fab_deploy_cloud

Fix the code to handle the change of temporary path
To rectifiy exhaustion of security-group-rules, we are checking if rules exist and not creating new rules