Move flags back to _raw_main

SubcommandsOptionParser is supposed to be generic.
Tiny docs typos

Conflicts:
	docs/plugins/index.rst
Style cleanup in sorting
Fix namedtuple call
Fix mistaken removals
Flake8 fix
Collapse some duplication in Confit templates
Fix missing super-constructor call
fetchart: Add test that reproduces #887
fetchart: correctly handle path encoding

* Ensure that `config.as_str_seq()` returns a list of unicode objects.
* Map these to bytestring paths so we can compare them to other paths.

Fixes #887