Issue #2163919 by yched, mtift: Optimise Config EntityQueries in case there are conditions on the 'id'.
Issue #2191101 by Cottser, thedavidmeister | xjm: Replace calls to theme() with drupal_render() in Views plugins.