Use sqlite C api.
JournalDb: Do not use static variable for path.
Nautilus overlay: minor cleanups
socketapi: if the filename is empty, it's actually /
SocketAPI: Cleanup, removed helper namespace, added as private methods.
SocketAPI: Use non-recursive (heuristic) computation of icons
SocketAPI: Remove old dbFileRecord function

We will use the _capi functions
SyncJournalDB: Clarify debug message
SocketAPI: Cache database conections and statements
Sql: New implementation of ownSql class to go away from Qt's own Sql
Merge branch 'sqlite_capi' of github.com:owncloud/mirall into sqlite_capi

Conflicts:
	src/mirall/socketapi.cpp
NewSQL: minor fixes to get stuff going
Test module for the new sql implementation.
Make the sync work with new sql implementation.
tx.pl: Fix sharing api url, some whitespace fixes.
ownsql: Added some paranthisis to make clear whats happening.
SyncEngine: Show a warning if post update script can not be exec.
ownsql: Cleanups: In modern C++, we use 0 instead of NULL
tx.pl: Adopt test t6.pl to the new way of handling precondition failed.
ownsql: Implement the transaction functions.