Fix #528 Youtube API amendments for testing
- Changed handle_response definition, does not take tuple anymore

- Switch from class to module

- Made appropriate changes in cli.py

- Divided up code fore more testability
Pin flake8, pep8, and pytest at known working versions