simplified Unite grep and added auto preview

added GetWorkDir function to either find the git root or use the home
directory