moved mail testing after submission is tested
spotted a bug in the order of ReferenceSets
all tests works correctly
Merge remote-tracking branch 'origin/refactor-db' into refactor-db
handlers tested, new errors managed and client updating
Merge branch 'refactor-db' of http://github.com/globaleaks/GLBackend into refactor-db
access_counter restored, limit tested with client
Merge branch 'refactor-db'

Conflicts:
	globaleaks/tests/test_submission.py