Replaced all instances of $dom->attrs with $dom->attr
Merge pull request #2 from insacuri/master

Replaced all instances of $dom->attrs with $dom->attr
Merge branch 'master' into develop