Make installed_version work for wheel

by using `pkg_resources.get_distribution` instead of calling pkg_info method. Wheels don't have a `.pip-egg-info` folder.

See: GH-2202