Upgrade Bitbucket API to 2.0
Bring back support for /on/bitbucket/team/
Set up a system for generating the UPDATE
Here's an update.sql for 4,271 accounts
Here's the error log from the update generation

This should be pruned during landing.
Here's a list of the usernames that are truly 404
Here's a couple helper scripts for exploring bb
Here's a little SQL to dump Bitbucket usernames
Here's the bitbucket dump I'm using
Enable the update sql from branch.sql
Put the condition in the join instead of a `where`
Prune tmp files
Also prune branch.py
Merge pull request #2917 from gratipay/bitbucket-uuids

Upgrade Bitbucket API to 2.0