Modify Rectangle.intersectWith to work with extents across the IDL.
Modify Rectangle.intersectWith to return undefined if there is no intersection and Rectangle.contains to work across the IDL.
Modify Rectangle.subsample to work across the IDL.
Ignore any events that bubble up to the document while testing.

Avoids triggering the browser's built-in "middle click to scroll" behavior when running specs.
Merge pull request #2312 from AnalyticalGraphicsInc/fixMiddleClickInSpecs

Ignore any events that bubble up to the document while testing.
Add Rectangle width and height properties to compute the width correctly for rectangles crossing the IDL. Replace all instances of east - west because it assumes east > west.
Fix Rectangle contains function. Math.negativePiToPi can introduce some error.
Merge branch 'master' into extent
Add doc and tests to compute width and height functions.
Update CHANGES.md
Tweak CHANGES.md
Fix ImageryLayer test.
Deprecate Rectangle.intersectWith and Rectangle.isEmpty.
Tweak CHANGES.md
Merge pull request #2313 from AnalyticalGraphicsInc/extent

Fixed imagery providers whose rectangle crosses the IDL.