update docs with release tarball
update autotools source

* bump patch version number
* add -std=c99 to tests
* add headers to distribution tarball
clean up source file

* gcc found some potentially uninitialised vars
clean up unit tests