Allows setting of additional valid view options

closes #4582
I'm not sure if there's a better way to do this to get tests to pass if the object that is using this trait doesn't have a `_validViewOptions` property.