Support other osm servers

I've created a patch that allows you to configure the use of other OSM servers, such as the test server api06.dev.openstreetmap.org which is specifically for testing of software interacting with OSM before acting on production.

I've also fixed a deprecation warning on the tests, and included a test for the change.