added stdio.h to avoid warning about printf
Allow switching malloc/realloc/free
use CC variable on test target, add 'all' target
added 'run_tests' target, remove 'install' dependency on test target..
Merge pull request #1 from enotodden/master

Allow user specified alloc functions, cleanup