Add device / sensor validation to csv-upload.

prismatic schema validation for devices and sensors. data level authorization.
make page size for measurements 10.

see #97
Make update strip out pks when necessary.
Fix id confusions.
Merge pull request #84 from MastodonC/feature/csv-upload-validation

Some validation on CSV upload
refactor - separate data and http for measurements.
Merge pull request #99 from MastodonC/feature/separate-data-and-http-for-measurements

refactor - separate data and http for measurements.
add biomasses to profiles CF
Add web UI for profile CSV upload

- Make index-malformed? a multimethod.
- Add file-upload widget