Allow Node::replaceWith() to accept a callable.

Issue #44 -- implementing this would mean I could clean up a good chunk of DMU's code, and it's consistent with the jQuery API anyway. I wrote a test and it passes, but I'm not 100% certain I did it right.