Use router script for built-in PHP server

Avoid problems with /tools/required urls
Improved multilingual support