Issue / Enhancement: Error when using a root selector element instead of a selector string.

Diagnosis: When using a selector element instead of string the function returns an element instead of a string but it was trying to use the DOM element as a fragment of a string.

 Fix / Implementation: Removed the DOM element from the string and instead found children of the DOM element that matched the remainder of the string.

 Post Script: Also added a .gitignore file for PHPStorm, the IDE I've been using.