[#accept] add ability to accept DOM node

accept DOM node as element parameter, also tests!

Branch: accept-dom-nodes
Merge pull request #9 from blocks/accept-dom-nodes

add ability to accept DOM node