Improve SQL Resolver

make the SQL-Resolver better usable with SQLite databases.
Added preset for Owncloud user database.

Closes #1