switching to python27: modify jenkins build scripts (bug 1013867)
use pyquery when checking markup to not fail on attributes reordering (bug 1013867)