update: modernize options handling in tests
update: modernize options handling in tests

This moves everything to the Options class, and resets the options between
test runs.

fdroidtravis/fdroidserver,f-droid/fdroidserver,f-droid/fdroidserver,f-droid/fdroidserver,fdroidtravis/fdroidserver,fdroidtravis/fdroidserver,f-droid/fdroidserver,fdroidtravis/fdroidserver,f-droid/fdroidserver