Allow user to set the API url

I had to use this gem for https://ca.api.ovh.com/ ( note the "ca." ) and made some modifications to allow anyone to set the API url.

I also added a test folder but only with tests related to my changes.