make the symfony2 frontcontroller configurable

This is a regexp, so the `.` in `app_dev.php` needs to be escaped.