Ignore a lonely element doesn't have parent node

before:

    jQuery('<p/>').getSelector() // => TypeError: Cannot read property 'tagName' of undefined

after:

    jQuery('<p/>').getSelector() // => [""]
Merge pull request #1 from ykzts/ignore-lonely-element

Ignore single elements with no parent.