Better comments and some extra functions

modified:   src/Rappture/API.hs
New C source with some utility functions

modified:   Rappture.cabal
modified:   makefile
modified:   src/Rappture/API.hs
new file:   src/Rappture/Util.c