SQLite: Fixing sqlutil functions. Scope revision (Table, Source, Tx, Result should not be exported), mild golint review (unused/uncommented globals).