Fix 'this' binding

Previously, 'this' in Quadtree.insert was referencing the 'this'
of the function that was calling it. This TypeScript lambda syntax
binds this correctly in such situations.