Adds internal function for rendering deprecated views that are usually empty

elgg_view_deprecated() tidies up the pattern for rendering deprecated views that may not be in use and eliminates needless NOTICE logs for those views.