Add support for relative_url_root option.

This solves problem if you have set your application to be run on relative url like "/url/"
(`config.action_controller.relative_url_root` option).