Add collection PUT message support.

If the id doesn't match a collection, we should return a 404, instead of a 500, which I think this will do. I believe throwing a NotFoundException will do it.