filter active/replica from get_vbucket

passing in param for type_ allows returning
list of vbuckets that may be active or replica for a node.
by default all vbuckets are returned

Change-Id: I89951a78faf816894ae13ed5aef6f6ada2070834