Added initial libcoatcheck implementation and tests.

Added targets for libcoatcheck library and tests program for libcoatcheck.