Added check for API_URL const before defining.
Merge branch 'master' of https://github.com/nickheppleston/freeagent-api-php