Update quadtree.js

The value of 'overlap' should reflect any possible collisions and not just the last tested comparison.
Merge pull request #99 from videlais/patch-3

Update quadtree.js