Require 2.7+ for one wikibase test

In certain circumstances a Wikibase method toJSON will fail
on py 2.6.  It is currently causing the travis builds to fail.

Bug: 70707
Change-Id: I2fb86d36f35214c48362ac96279070cb0e813ba3