configurable: add base class for configurable classes

Outputs and parsers need some configuration. Some values even may be
required. Configurable also implement a function to get a default
value for configuration entries.
tests/test_utils: rename TestCase