Issue #1817672 by jibran, dawehner, bdgreen, damiankloip: Replace db_select() with an injected database connection in views plugins.