Adds missing validation of UserOptionAddForm::$outputClass

Fixes #1258