Adding waf integration to api loader

This PR will put the emergency release into master. See https://github.com/geoadmin/mf-chsdi3/releases/tag/r_140814