Properly prepare insertIfNotExist queries.
Quote key for SQLite.
D'oh, why concatenate static strings.
Missing backticks. Thx @Raydiation :)
Double quotes to backticks
And removing an irrelevant comment ;)
Merge pull request #2567 from owncloud/fix_insertIfNotExist

Properly prepare insertIfNotExist queries.