Copied and pasted the MultipartInputStream class from org.w3c.jigsaw into this project. It has not changed in a long time, and is not likely to change. This allowed the project to remove its dependency on the jigsaw jar.
Moved the AttachmentsInOrderParser into com.allogy.couch.multipart and made it package-local.