Added Defaults::$accessControlFunction property so that access control function can be centrally defined for classes like Nav, Resources etc
Resources and Nav to make use of Defaults::$accessControlFunction when their own access control function is not defined