sqlite3: add params, put schema and statements toghether

use id-s for files

added templateParams
run tests on -r

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>