dev-vcs/legit: Convert to distutils-r1
Remove Python 2.5 and 3.1 support

Following Gentoo.