Add support for conventional versioning suffixes a, b and pr

This is based on
http://docs.python.org/2/distutils/setupscript.html#meta-data which
specifies trailing version information for sub-releases