Add missing urlencoding to base/webroot.

This fixes URL generation when PHP_SELF or the request path contains
special characters.
Update version number to 2.3.5