Move lang.base.php -> tools

This pull request moves the non-class-PHP-file `lang.base.php` from `src/main/php` to `tools` (and to where the rest of the entry point / bootstrapping logic exists).