Make image upload work

Also:

* Make ApplicationHelper#dc_metadata_for handle missing data better
* Ignore uploaded files under /public