Added support for attributes on parents

Added a special object 'elements' which allows for attributes at the parent level of plural nodes.

Example:
<items attribute1="test">
 <item>
    Test Item
 </item>
</item>