Adds database configuration to the web application.

Introduces `PHP/config.php` to use for database configuration of the web app. Also removes `/PHP` path prefix to make code easily relocatable. Links still work with relative paths.