adding a new method 'replaceWith'
Merge pull request #1 from Tolia/manipulation.replace

adding a new method 'replaceWith'