Fix gQuery failing when managing non native element objects
Fix bug in deferred, it must not change status if finished
Merge pull request #251 from manolo/master

done