Addressing comments on commit regarding document api endpoint.
See 18F/afsmallbiz#74
Changed file not found code from 400 to 404.
Added error handling for a failed file insert.