fixes #2249 - path to kickstart template when provisioning through API

Also fixes inconsistency in usage of variables in hosts_controller 
forward_url_options.
Please remove this irrelevant condition here, ```Setting[:foreman_url]``` is always present, when it's nil, ```url_options[:host]``` will equal nil, when it's an actual URL, it'll equal an actual URL, regardless of the if statement.