Rework bootstrapper

Wraps the bootsrap procedure in an anonymous function to limit global scope pollution to a single variable ($app)
Ensures that load.php was the including file
Replaces CWD-based project root detection
Configures front controller and Nut for new bootstrap process
Fixes #1526