Enable "Modules" critic policies and fix code accordingly

Enable most of perlcritic's "Modules" policies and update the source
code to match the new requirements.

Signed-off-by: Niels Thykier <niels@thykier.net>