Extended format fixes. Append and CAS.

* Written test for cas.
* Fixed checksum calculation for extended format records used by CAS.
* Fixed append test - now it vefifies result.
* Fixed append of records in extended format.
* Re-introduced missed lock in defrag.
* Grammar nazzism.