36: Save a pointer to redis on the API request object, for custom API method use
36: Added method to set the API class that will be used for all API requests

* includes custom API methods defined via addRoute()
* hooks will be available on this class as well, if added after setApiClass()
36: Save the list of user IDs with access to the current object for use by hooks
36: Fixes & tweaks for ObjectId caching & multiple users

* refresh the ObjectId cache for current user before sending response
* delete the ObjectId cache for other users on saveReply()
* set the cache expiration to 1 hour
36: Limit getAllRights() and refreshObjIds() to the current user