Added allow_dom attribute to be able to filter out DOM
allow_dom default value = true
Better way to check for HTML nodes
Pass options obj instead of multiple arguments
options handling fix
opts param to be optional
options param allows falsy values
Merge pull request #2 from syko/master

Option to filter out DOM nodes