Adding ModelStateError if there is no input formatter selected.

Not relevant to this change, but if this code keeps growing we should think about splitting it out of this class. It's not so reusable as-is.