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
Changes for not recreating security-group rules

we had exhausted all the security group rules under the default security
group. Herein changes are made so, as to check if the default security
group exists and all the rules already exist or not. if Not only then
create the rules.
Merge pull request #23 from saneax/feature

Changes for not recreating security-group rules