add support for different api paths, na15, test, etc

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
update attribute to use api_host and keep api_url as method

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>