Git: git-branch-cleanup script

- deleted branches merged into master
Bash: case insensitive search
Bash: add __basedir helper function

- git's basedir for git repo
- pwd otherwise
Bash: extract git helper function into file
Git: grep -v master *only*

-otherwise removes branches having 'master' aswell