update gui.php
more flexible in permissions to assign initially
moved register permission requirement into api call space
moved install hooks around a bit
added usage file
some updates
enabled config.php write
updated docs and extra check function
more extensive install calls