test-sqlite-cursor-set-sexp.c: Added test.

New test steps the cursor after setting a search expression.
Fixing cursor example build.

Enabled warnings in the Makefile.am and fixed them.