Get project name from pkg_resources like pip does to support pinned versions in pip requirements files. Fix #12.