Get api_endpoint[s] attribute from settings if defined there

It should be possible to configure the field names for API_ENDPOINT_KEY_SINGULAR and API_ENDPOINT_KEY_PLURAL, for example to use 'url' and 'urls'.