AABB and bounding volume hierarchy

Pretty "dumb" approach to bvh but it gets the job done.
Updates to AABB and BVH
BVH generic class
Added polygonal-ds dependency for BVH
Minor cleanup
Minor fix
Fixed performance regression in bvh
Flash localstorage
rotateSinCos for Vector2D
Merge remote-tracking branch 'origin/dev'