Made detection of git, yum, and apt-get more dynamic.
Merge pull request #5 from Element84/MakeShellMoreDynamic

Fix yum location for CentOS 6.3