Add an init_stats function
Add explicitly typed incr functions and macros to hide that in C

This is necessary for FFI, since they will likely want explicit typing
Move main out of stats.c into test_stats.c
Merge pull request #1 from wmoss/master

FFI Changes