use dom-serializer module
Merge pull request #458 from cheeriojs/renderer_module

move render.js to its own module