Upgraded jsdom for v0.10 node use.
Added a workaround for jsdom bug with empty tags.  <resources /> does not get parsed correctly in 0.8.9.
Updates for node v0.10 compatibility.
Merge pull request #253 from skrenek/master

Mods to upgrade to node v0.10.