Make configuration extensible.

Plugins can now declare configuration elements that they need. Those
will be saved/loaded as with other configuration elements, and can
be modified/viewed with the `cfg` command.

Fixes #2.