CBQE-1457: add tests for buckets using ports till 1023

Change-Id: I14a77c714d1c1f73f7f97bbf69d77c19d1cf44f8
Reviewed-on: http://review.couchbase.org/39078
Reviewed-by: Andrei Baranouski <andrei.baranouski@gmail.com>
Tested-by: buildbot <build@couchbase.com>