Updated sqlite storage module
Signed-off-by: Oliver Lorenz <olli@olorenz.org>

sqlite now supports integer and string retrieval,
as well as multi-column data retrieval.
core.c: updated db interface