Changed the location of the database files to point to ~/.cache

directory. Created a method syncDir to return the CACHE_DIR

Updated the project files to be in sync with the directory and library changes in buteo-syncfw
Fixed issues with include paths

Signed-off-by: Sateesh Kavuri <sateesh@mobilitas.co>