Add a server.log file to avoid errors on first run.
Better way of determining webserver user, since apparently sometimes
the main apache process runs as root, and sometimes as www-data (WTF?).
Install script is now tested.
Move code down into dispatcher, so only configuration is in index.php