Allows for the targetUrl value to be modified via configuration

Fixes: http://issues.craftercms.org/browse/CRAFTERCMS-509