Web UI update
[Issue #72] Added Submission Document
Adding jquery stupport to UI
[Issue #72] Cleaning up submissions

- Refactored submission form
- Added 'group' support to enable metadata input
- Submissions now use the submissions collections rather than the hashes
  collection
- Added better validation of form input
- Added sample SUBMISSION_GROUPS config
Adding static jquery.js file
[Issue #72] Added Submission Document
Adding jquery stupport to UI
[Issue #72] Cleaning up submissions

- Refactored submission form
- Added 'group' support to enable metadata input
- Submissions now use the submissions collections rather than the hashes
  collection
- Added better validation of form input
- Added sample SUBMISSION_GROUPS config
Adding static jquery.js file
Merge branch 'submissions' of github.com:victims/victims-web into submissions
Create log directory if it does not exist
Updated sample upload directory
Added logging to submission
[Issue #72] Added json to Hash object convertion method
[Issue #72] Added JSON submission

- Consumed new submission implementation
- Refactored convertions
- Added test case
- Temorarily enabled CSRF exeption
[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
Add debug print to test case to debug travis failure
Force logout before testing anon submit
[Issue #77] Add email information to accounts

- Updated Account model to inclide EmailField
- Refactored auth.resgister method
- Not all fields are required, some can now be empty (eg: email)
- Made register.html template more configurable from code
- Added input validation in html