Added "make check" target.

- Leaving "make test" target as is for backwards compatibility. Ideally,
  "make test" should just build the binaries, not run them.
Updated .gitignore to ignore test-core* binaries.
Merge pull request #62 from karya0/master

Updated Makefile to include a "check" target.