Throw exception if View class is not found.

Closes #4955
I started by throwing `MissingViewException` but realized it for view template files not the class.

So we can either make a new `MissingViewClassException` or rename the existing `MissingViewException` to `MissingTemplateException` and use `MissingViewException` when view class is not found.