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.
Avoid using {...} for multi-line blocks.