query installed requirements for extras

Fixes an issue where egg_info('requires.txt') does not exist for packages installed from wheels.

Affected use case:

    pip install pkg (from wheel)
    pip install pkg[extra]

Included test fails prior to this PR.

Closes #1885