Try to improve response detail to metadata upload. Database insert means that any invalid values will cause entire record to fail. (#20)
Remove some debug logging, fix a bug with priv values. Closes #20.