JournalDb: Do not longer always have a write operation on version table.

Rather read the value from the table and if it is what we expect do not
write it.
Csync tests: Fix compile.
SocketAPI: show an ignored icon for paused folders
SocketAPI: do not show a progress icon in case of errors
Csync tests: Fix broken tests.

It is no longer ok to call csync_statedb_load() on a non-existant
database since it opens readonly only.
Merge remote-tracking branch 'origin/1.7' into master