feature(views): passes more context info to input/access and access hooks

Without contextual information about the entity being edited/created,
it's difficult to alter the input/access view in meaningful ways. This
provides the hook parameter to hold that info and alters the core uses
of input/access to provide that info.

Fixes #4695