post-receive testing

Prior to this commit thinks were working, this commit breaks stuff but its the end of the day and I want to save code
r10k synchronize fixes

Prior to this commit r10k was not being called by the mcollective agent
This was due to some issues with the .ddl and .rb agent files.
This also starts some code cleanup for git branch
Code Cleanup

Refactoring and code cleanup
Code cleanup git.pp