Merge pull request #7 from Matt-Esch/master

fixed phantom tests
added insertBefore and fixed parentNode on insert/remove