Refactor so pip creates InstallRequirement instances for us

Extract logic into get_requirement_set to simplify process_requirements