Bitbucket hook

Untested and everything. Not sure how to go about testing this without installing Django and everything and getting it all up and running. Feel free to poke me on IRC with ideas. :)