Add flushAuthorityEvents() static method for BaseController class and all its subclasses.

Useful for functional tests with Codeception (see issue #14).

Remove all Authority-Controller events of every Controllers:

BaseController::flushAuthorityEvents('*');

Remove all Authority-Controller events of ProjectsController:

ProjectsController::flushAuthorityEvents();