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
Can you add code marks around the function here: ` ``get_default_access`` `

Also in the rest of this file