enhance rebalance templates

Change-Id: Ib8a4ed341ecd65d1e6ec90c0a9541a5adaa07307
Reviewed-on: http://review.couchbase.org/28829
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>