Fix passing context as dom node

Currently you can do this in JQuery:

    var $div = $('<div><p></p></div')
    $('p', $div[0])

But it throws in Cheerio. Fixed it.
Merge pull request #377 from alFReD-NSH/dom-context

Fix passing context as dom node
proper rendering of CDATA
don't loop through cdata children array
only ever one child index for cdata
CDATA test
Update render.js
Merge pull request #397 from stevenvachon/master

proper rendering of CDATA
Pin `expect.js` to 0.2 

As long as https://github.com/LearnBoost/expect.js/pull/102 isn't resolved, 0.3 causes bugs.
Remove nodes from their previous structures

When manipulation methods operate on existing nodes, ensure that these
nodes are removed from their previous structures.
Merge pull request #350 from jugglinmike/cleanup-manip

Remove nodes from their previous structures
Update to latest version of expect.js

In version 0.3, expect.js corrected the order of its `eql` assertion.
This exposed several bugs in Cheerio's unit tests, where `aguments`
objects were being tested for deep equality with Array instances.
Fix attr when $ collection contains text modules
Merge pull request #400 from jugglinmike/update-expect

Update to latest version of expect.js
update to entities@0.5.0
Merge pull request #403 from fb55/master

Update to entities@0.5.0
Merge pull request #402 from kpdecker/attr-text

Fix attr when $ collection contains text modules
switch to lodash
Correct arguments for 'replaceWith' callback

Ensure that when `replaceWith` is invoked with a function, that function
is invoked with both the iteration index *and* element.
Merge pull request #410 from jugglinmike/replacewith-args

Correct arguments for 'replaceWith' callback