fix testPutReplacesResource and testRestrictPutReUseUri container tests

testPutReplacesResource should not run against containers as written. It
was mistakenly included because the wrong value was resturned in
CommonContainerTest.restrictionsOnContent().

testRestrictPutReUseUri was trying to set the body before setting the
request content type, which caused an exception.