Apply fixes from ucam-observe-remote-server
Adds .flake8 file to the boilerplate.
Corrects error in gitlab CI configuration which causes tests to run twice.
Moves tests module to be a part of the root package - in line with project style throughout DevOps.
Part of uis/devops/ucam-observe-remote/ucam-observe-remote-server#1