Do early exit in event handler condition check
Do early exit in event handler condition check

In the base event handler we add early exiting if
any check fails.
Mainly we do this for readability.
Performance improvements are nearly 0.

Closes #762

privacyidea/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea