Bundle and migrate after checkouts

Stolen from @seanpdoyle's blog post:
http://robots.thoughtbot.com/use-git-hooks-to-automate-annoying-tasks