Issue #2113441 by damiankloip: Move remaining views.module helper functions to Drupal\views\Views class.