Include the code for parse_version from pkg_resources.

This removes unwanted side effects produced by importing pkg_resources.

Release a new version.