cmake: use the qjson include dir
Fix git->branches... on the root folder.

Now pressing git->branches... on the root folder of a project under git will show all available branches instead of showing an error message: Not a git repository...

REVIEW: 115327