Add an option to set a custom view class for notifications.
Make option validator able to validate Class objects.

Use this to tighten up the validation for the notification view class
option.