use jinja to generate gateload config

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