Added multi OS Support

- This commit adds support for CENTOS6/RHEL6.
- This also adds more capability to the script to cleanup on error.
- The script will now protect itself from double installation by dropping
a lock file and checking for it before installation.