new CroogoAppHelper::apiUrl() and remove hardcoded API url

Closes #394