[libsocialcache] Ensure queries in dropTables() succeed

Finish user_version query before calling dropTables(), else db is still
locked when dropTables() tries to execute additional queries.
Merge pull request #50 from nemomobile/finish-query

[libsocialcache] Ensure queries in dropTables() succeed