Decide if in a git repositoy searching down the directory tree.
Added support to use git discribe --tags --always when not on a branch and to show the number of commits ahead of remote.
Added fix for detecting Subversion repositories with Subversion 1.6.
Merge pull request #7 from rickard-von-essen/scm-improvements

Improved prompt when in Git/Subversion repos