Take into account relative root path when generating captcha url

This plugin does not work when rails app is deployed into a subdirectory, rather than into the root of website (http://example.org/apps/ instead of http://example.org/).

In order to fix this issue it is necessary to use ENV["RAILS_RELATIVE_URL_ROOT"] when generating image url.