Extent.fromCartographicArray

The absense of this useful helper function became apparent during the International Space Apps Challenge.
Fix to properly check for undefined values
Fix formatting for define
Fix to properly check for 'undefined'
Fix to properly check for 'undefined' and default value initializations
Fix to properly check for 'undefined'
Fix to properly check for 'undefined'
Fix to properly assign a default value
Fix to properly check for 'undefined'
Merge pull request #678 from AnalyticalGraphicsInc/extentFromCartographics

Extent.fromCartographicArray
Fix to properly check for 'undefined' and assign default values
Merge pull request #684 from andre-nunes/issue89

Fix to properly check for 'undefined'
Fix my botched pull request merge.