CBQE-0 move check upgrade version to upgrade basetest

Change-Id: I1daac0819f08a62d87b6cb4dc6f6e1a29a20847f
Reviewed-on: http://review.couchbase.org/40816
Reviewed-by: Thuan Nguyen <soccon@gmail.com>
Tested-by: Thuan Nguyen <soccon@gmail.com>