Merge pull request #83 from ares/master

Allow adding custom modules in hooks
Version bump
Automatic commit of package [rubygem-kafo] minor release [0.5.4-1].
Fixes #5452 - Make sure nil is not part of the keys in Puppet resource
Merge pull request #84 from iNecas/fix-nils-in-ordered-keys

Fixes #5452 - Make sure nil is not part of the keys in Puppet resource
s/hooks_dir/hook_dirs/
Fixes #5582 - make the Kafo.exit_code set properly in post hooks
Merge pull request #85 from iNecas/fix-hooks-dir-typo

s/hooks_dir/hook_dirs/ and set exit code before post hooks
Add new type of hooks

Also fix some default values lookup issues
Refactoring of exit calls

The logic around exit code was extracted to new class. You can still
trigger exit using KafoConfigure.exit(code, &block) call.