Pull Request for Dev Upload Submission API

@FireIce

Please review the pull request.
BTW the insert into id_sequences table was not required (as you rightly guessed) and I have removed it.