Fixed code style and comments.
Fixed hook_help example
Added perform.api.php file with description about hooks and alters.
Fixed issues:
#2904359 by Chi: Wrong permission condition in perfmon_page()
#3008848 by yuraosn: Notice: Undefined variable: severity in function perfmon_requirements()