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.
Line is too long. [99/80]