Changes:
  * fixed minor security issue - autogen password no longer
    printed in logs and requires root permissions to access.
  * code cleanup
  * added hook-debug config option to make hook more verbose
  * tidied up README
Changes:
    * fixed minor security issue - autogen password no longer
      printed in logs and requires root permissions to access.
    * code cleanup
    * added hook-debug config option to make hook more verbose
    * tidied up README