Remove CHECK_* from public API.

CHECK_* are now private and used internally in the library. The test
uses have been replaced with asserts.

Fixes #62.