ActionController: set a default window title

In case a controller action didn't set a view title this fix restores
the default title on XHR requests.

fixes #6797