Changed save behaviour when identifier is changed to do an INSERT OR REPLACE
Fixed INSERT, it was including a WHERE for some reason
Fixed some errors in sql generation by removing quotes
made queries return models only for SELECT * style queries