Separating checkModules() and checkPermissions() in AbstractAction

Actually nothing was changed, just separating the code into own methods to make them overridable, just like in AbstractPage.
Merge pull request #1118 from PhrozenByte/enhancement/SeparateActionPermissionModuleChecks

Separating checkModules() and checkPermissions() in AbstractAction