Build fixes

Various files not shipped with the tarball that IMO should be, plus a few file mode fixes in the karate plugin directory