add INSTALL with build instructions
cmake: fix dist target
Cmake: add "check" target

Basic usage for cmake and autotools should be the same now after the
Makefiles are created.