add dateutil dep
clean up `git current-branch`
fix up new-branch
play nice with unnamed refs
work around travis shallow-repo clone restriction
travis fixes