Refactoring the Controller::render method, moved the part that constructs the view instance into Controller::_view() for easier overloading this part and better modularization
Fixing a code formatting mistake in Controller::render()
Renaming Controller::_view() to Controller::_getViewObject()
Fixing typo in Controller::_getViewObject doc block and changing the view class comparison from != to !==
Changing the doc block of Controller::_getViewObject()
Merge pull request #1086 from burzum/refactor/controller-render

Refactoring the Controller::render method

Create Controller::_getViewObject() which is responsible for creating
the view instance. This gives an easier way to override view construction.