Prepared statement tests and fixes
Fix Valgrind errors

Fixes libattachsql/libattachsql#109
Merge pull request #108 from LinuxJedi/statement_tests

Prepared statement tests and fixes
Add missing bit of version history
Add information about API versioning

Closes #110