Attempt at make fragments safe
Replace documentFragment references with arrays of childNodes.
Fixes #4
Merge pull request #8 from barneycarroll/safeFragments

Safe fragments: fixes #4