Finalized archive submission via REST API

- Implemented /submit/archive/<group>
- Refactored submission
- Added API specific helpers for user accounts