Add request and account to multiple entity views.

Needed to set the request in order to override the `viewEntity` function and be able to check the request.

**Note**: This is a copy of https://github.com/mateu-aguilo-bosch/restful/pull/5 submitted by @nader77.