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.
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.
Merge remote-tracking branch 'origin/master' into display-condition