nodeType property error when using selectors like: $(widget)
Using isVisible for widget selector test. Also removingFromParent
Button.
using assertTrue and asserFalse instead of assertEquals(true/false, ...)
Using GQuery var instance instead of evaluating selector multiple
times.
Merge pull request #327 from apanizo/master

nodeType property error when using selectors like: $(widget).
Fixes regression introduced in 8da271599c341f385ae4240f3dd37649aa81b082