SQLitePlugin: get all integers from sqlite as long ints

Enables storing and retrieving timestamps in the database.

KFA-30, KFA-33