Adding jsonDataUpload which will pass data through the santization steps
that file uploads go through. ManualUpload will eventually go away so that
all data passes through the same steps to get into the database.
Added some documentation to the code
Merge pull request #1158 from jdalphon/api

Adding jsonDataUpload