Allow API auth to be used for subtitle uploads

This is just some code to make due until we implement #1830
Fix data output and parsing for the upload form

Fixed it so we output straight JSON.  Fixed the parsing code to handle
that.
Merge pull request #1831 from pculture/api-auth-for-uploads

Allow API auth to be used for subtitle uploads