utils: add custom Formatter

Add a custom Formatter class, that allows !q and !f conversions to
quote URLs and create valid file names from input data.
tests/parser: fix typo
parser: add stubs for missing parsers
tests/parser: remove trailing whitespaces
output/extinfo: add basic implementation for extinfo output