exclude: Make sure we don't sync the csync_journal.db.
util: Remove obsolete csync_create_statedb_hash().
exclude: Reduce memory allocations of csync_excluded().
tests: Add exclude test for journal db names.
exclude: Simplify the csync_excluded() loop.

Thanks to Klaas Freitag.
Fix name of config file in log test case.
Fix more csync->ocsync renaming issues.
Another rename issue to ocsync instead of csync.
Add name of rename target to treewalk data structure.
Fixed csync testcases.
Use LIKE instead of GLOB to find files in dirs in database.

This fixes Github issue mirall#25
csync: Move auth callback to a common struct.
Merge branch 'master' into dav - get cmocka tests and database move.

Conflicts:
	CMakeLists.txt
	cmake/Modules/FindCMocka.cmake
	src/csync.c
	src/csync_exclude.c
	src/csync_reconcile.c
	src/csync_statedb.c
	src/csync_update.c
	src/csync_util.c
	src/vio/csync_vio.c
	tests/CMakeLists.txt
	tests/csync_tests/check_csync_exclude.c
	tests/csync_tests/check_csync_statedb_load.c
	tests/csync_tests/check_csync_statedb_query.c
	tests/csync_tests/check_csync_update.c
	tests/std_tests/check_std_c_path.c
Fix merge: Initialise data before accessing them.
csync: Add support for a log callback.
csync: Add option to set and get log verbosity.
csync: Add a new logging system.
client: Add setting the debug level.
statedb: Log an error if we can't open the database.
cmake: Get rid of log4c.