Collect gateway expvar and output running parameters

Change-Id: Ibe11bbc3e9f740aedfb2e0d54b7e2fa6a9fbec27
Reviewed-on: http://review.couchbase.org/37058
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Li Yang <lichenyang2@gmail.com>