Added function to get git info from working repo.
Marked many cmake cache vars as advanced. Left only those that provided information immediately relevant to the user.