Added ability to set an API endpoint, in case open.mapquestapi.com should be used in place of mapquestapi.com.