Main script tests
This will make our main script testable. It also demonstrates how we could re-implement tests from tests/run-tests
as python test case.
Last but not least this makes fdroidserver more pythonic by allowing to call the cli like so:
python3 -m fdroidserver