fix CI for wetap-api

Attempting to fix the build and improve wetap-api ci stability.

Though I've been running the tests locally, CI hasn't been happy for a while...

Having the CI scripts checked into the codebase is good because:

1. CI configuration is code - as a rule, code should be in version control
2. I can more easily run the same build that CI runs
3. Changes to the build correspond to changes in the code (e.g. when we added cucumber to the project, we added a bunch of cucumber code, plus we configure ci to run cucumber within that branch. Rather than have to tweak CI separately (and incompatibly with other pull requests in the meanwhile!).)