Use SQLite types

The thought here is we should somewhat abstract the use of C++ types but rather enforce the use of basic SQLite types. Since at query time the functions (like maps and reductions) are applied to the SQL types.

Reference: https://www.sqlite.org/datatype3.html

Additional data types can be supported from the table spec perspective (in gentable.py) or from a code perspective (in results.h).