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.

Implements #4695

TODO
- [x] Document new params on hook
Is this supposed to be `$vars['value']`? Where is `$defaults` coming from?