First commit for unit-testing

- Bundling the 'check' unit test framework. See this as a boot-strap
  step, rather than a library dependency.
Merge pull request #212 from justfalter/add_unit_tests

First commit for unit-testing