Refactoring to fully remove changeset cache from main.
Merge remote-tracking branch 'origin/master' into changeset_cache_refactor
Work in progress, getting all the backend stuff out of main and into the backend.
Made APIDB build configrurable, but enabled by default.
This should make it easier to add other backends with modular compilation and testing.
Merge branch 'changeset_cache_refactor'
Merge remote-tracking branch 'origin/master'
Merge branch 'master' into gsoc13

Conflicts:
	src/main.cpp