Added context injection into view plugs

Signed-off-by: Tom Wright <tom@inflatablecookie.com>