Adding extension for attachments

OK, so how about this?

* If the client sends an accept of "multipart/mixed" they get the multipart response.
* Otherwise the client gets a collection+json response. Looking through the response they will be able to tell that there are attachments by identifying the "attachment" fields.

For the non multipart response, another option is to have a link or something at the doc level that indicates it has attachments.