Avoid the check of resource existence before calling isAllow() in the

The function acceptAcl() calls hasResource() before calling isAllowed() making you have to explicitly register all of your resources beforehand. My patch enables you to lazy load resource registration on the fly in your Acl implementation.

acceptAcl() method.

Change-Id: I47444e0ee26a896066af56208670180bd7ce4fa7
Signed-off-by: Antoine Delamarre <antoine.delamarre@vaconsulting.lu>