Robust installation script

Includes a web form to edit settings.php, and removes the need to use an
additional setup page.