fix up parameters, and export them

Change-Id: I498b0a0bc014a00080dc66d18b89e1c39023e636
Merge * 'master' of https://github.com/couchbase/build:
        use recursive submodule update in couchbase-lite-ios