add "How to do" to README.rst
revise some debug warning
revise the function hook_exist in phphooks.class.php
revise README.rst