InputCommon: Rename class InputPlugin to InputConfig

This name is way back from the plugin era.
(irrelevant to this PR)
??? why are we casting instead of using polymorphism?