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.