Add test cases for Git extraction
Allow metadata function to accept a string as a parameter

Add all tests unit test
Woot for tests
Multiple test fixes and updating to the new version of Git.php
Fix regex for determining branches in Git
Add test folder and file for testing
Fix #1 - Ensure that incoming user variables are escaped for the cmd line

Should have closed some gaps in validation of hashes.
Add double quoted file for testing
Fix #1 - Add test case for double quotes