add ability to set api url in template

DO api is very simple and i think that it may be popular on some other providers, also in Russia we have DO compatibility api hosting.
I think that the ability to provide api url in packer template is the needed option.

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>