update createTable and insert functions

createTable: allow multiple primary keys
insert: allow 'INSERT OR REPLACE INTO'