support multiple baseline settings

Change-Id: I74cf908f16c2f6d21c0c00cd721f4cb9e9abdc52
Reviewed-on: http://review.couchbase.org/24610
Reviewed-by: Ronnie Sun <ronnie@couchbase.com>
Tested-by: Ronnie Sun <ronnie@couchbase.com>