[Issue #72] Require login for JSON submission

- Temporarily use normal login for REST JSON submission
- Update test cases to test this behaviour
[Issue #72] Submission UI changes

- Added dynamic generation of format summary on home page
- Updated template for index.html
- Updated submissions collection to use 'format' instead of suffix to be
  consistent with hashes collection