Add pre/post_host hook support.

Add support for pre/post host hooks.
Rename pre/post job hook variables to be more clear.
Add docstrings to the plugins module and make it pylint free.