fix bug on simple api call caching -> call length
implementing optimisations that are compatible with the v3 api
Merge branch 'master' of https://github.com/openaid-IATI/OIPA