Merge pull request #68 from abn/master

Making log configuration independant of openshift and configurable via e...
Workaround to handle encoding issues in flask.ext.login
Enable remember option in login_user
[Issue #71] Create upload directory if not already present
Fixing file permissions to upload directory
[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