Fixing API file upload and Raw Data upload.

Fixes an issue where we were not properly checking for valid filedata in
the request.

Also prevents uploading Raw Data without a title and bombs out early if
a data_type is not provided.

Fixes #92.
Merge branch 'master' of github.com:/crits/crits