Test the result against SQLITE_OK

SQLITE_OK is the right value to test for.
Add a doxygen configuration file to generate documentation.
Generate images in docs