Redirect to list view if object not exist in detail view

refs #6008

If an object cannot be found for a detail view, redirect to the list view
for that type and display a warning message, instead of a 404.