Revert "Moved some git specific logic out of controller"

This reverts commit d317ab3e5f8d88a3e80d7f7075403b7df926309d.

Conflicts:
	app/controllers/submissions_controller.rb
Reverted commit which edited path in a model
Solved path issues, stringify method rewrote.
Hound fixes + added .travis.yml config from Master
Hound
Travis Database Config
Formatting, and included directory_selector fix
Merge branch 'git' of github.com:SoftwareDev/Markus into git
Fixing indentation
Merge pull request #1930 from SoftwareDev/git

Solved major path issues, now consistent with SVN implementation