Refactoring

- Move helpers out from prototype
- Use getters for firstChild/lastChild/previousSibling/nextSibling
- Rename context reference
Flatten DocumentFragment when inserted to document