Initialize variables to silence compiler warnings.
Print a cmake feature log.

This let's users know when the dependnecies for auto-type are missing.
Available only in cmake >= 2.8.3.

Closes #71
Improve error messages for reading and wriiting databases.

Closes #7