Fix basepath of TinyMCE

When requesting paths for TinyMCE, the code actually creates things like "…/tiny_mce//lang…."

This works on tomcat since it seems to collapse the sequential forward slashes before serving and logging, but it gives a 404 error on jetty based containers.