handle git tags properly on cloning.  clone -b does not support tags.
Merge pull request #134 from svalinn/improve_git_tag_handling

handle git tags properly on cloning.  clone -b does not support tags.
Merge remote-tracking branch 'origin/master' into alpha_release
Merge remote-tracking branch 'origin/alpha_release' into doc_install_alpha