import bzr
import, adopt, and upgrade mercurial 2.2.2 -> 2.5.1
import and adopt metapixel
kill obsolete mercurial patches
genericize metapixel deps