Refactored lib/render into tap-render module.

It's now on NPM. And has it's own tests, which even pass in IE6.