Add content-store test helpers for PUTing data

That's a very good point that I missed...  Yeah, this should always raise if it gets a 404 (and we therefore don't need the bang variant below).