make it possible to add custom CFLAGS
version.h is no longer used
Merge pull request #88 from darealshinji/patch-2

version.h is no longer used
Makefile now compiles tests. Fixed test files. Removed unused stuff.
Configured Travis to run unit tests.