Parse requirements properly with pip

To support requirements formats like "-r" in requirements files, I replace the current parsing with pip's `parse_requirements`.