Moved dependencies into tox.ini.

See #791 for details/rationale.