refactor(setup): single requirements function

Read in requirements using a refactored variant of
test_requirements().

Also, install package requirements in tox.ini.