Port RectangleIntersects
Upgrade to Jasmine 2.0 and fix test cases