change post_case_blocks and one test to use form locking

the rest of the tests call a post_xform_to_couch, which goes through the same code path
but releases the lock before returning

mutually dependent on https://github.com/dimagi/couchforms/pull/98