Flesh out Work processing

* put in correct mime-types for attached files
* make the first file be the representative of a work
* enumerate known work types, so they don't need a Work prefix