Implemented many of the test cases for the item update API.
Changed item create and update to be permissive and assume the right content-type if none was specified.