Playdoh upgrade

Turns out badges.mozilla.org is running on ancient Playdoh and Django. Scary number of commits here, but the local changes show up in the final 3 commits.