Create upload folder
Adapt api to factory changes (#62)

The dashboard and api share the same code for processing a request. The api
endpoint also uses the form to validate the input.

This commit is non-backwards compatible. The api now requires that file data
be sent in a parameter name 'file_'.
Update api docs