Check container and custom exception messages

Added a check on loaded services in addFlash and isGranted, changed checkGranted name to a more verbose one and allows to pass a message to the AccessDeniedException.