fixed local getElementsByClassName, uncommented and fixed applicable tests
Merge remote-tracking branch 'chrisbateman/selector-test-fixes' into dev-master
Merge branch 'dev-master' into dev-3.x