Git progress

- All web interface manipulations (upload, replace, delete, download) with Git repos are functional.
- Cleaned some code up (refactoring and thinking about future master + git merge)
- Failing rake tests will be addressed.
Expression at 319, 75 should be on its own line.