Better status reporting and logging of uploads

- Update status immediately when file arrives to ACCEPTED
- Change status to STORING when saving to s3.
- Better logging of while measurement failed to insert.