Merge pull request #3 from slamont/master

Added \n when vcs_pre is called so the prompt is not messed up
Fix git prompt on detached HEAD

Display tag name if on a tag, else the commit short number