non-privileged users can now specify executables

* Added safe mode for specifying set of hooks restricted by system
  administrator.
* Code remormatted for 80 columns;
* Docs updated.