Enable content types to add view data

- Enable content types to prepare data explicitly for the view by
  implementing a "getViewData" method.