Squashed 'cesium/' changes from f7dd954..ea074b6

ea074b6 Merge branch 'velocity' into referenceProperties
ad9959e Merge pull request #1785 from AnalyticalGraphicsInc/north-up
945bb05 Merge remote-tracking branch 'origin/master' into north-up
10052e2 Changes after review.
8ac2a83 semiMajorAxis can be negative for hyperbolic orbits.
ea28b54 Switch to using semiMajorAxis for the North-Up decision.
a574603 Merge pull request #1775 from AnalyticalGraphicsInc/projection
ce6d97b Fix ScreenSpaceCameraController tests and a doc fix.
66174a5 Merge pull request #1784 from AnalyticalGraphicsInc/more-doc
5164a4c Merge master to projection
f6b251b More readonly properties
911fd1f Mark more properties readonly
8bead3d Merge pull request #1783 from AnalyticalGraphicsInc/renames
4590096 Mark definitionChanged readonly
49ba40a Merge master to projection
93ab2ab More renames
31057df Renamed Simon1994PlanetaryPositions functions
b91d8a2 Merge pull request #1781 from AnalyticalGraphicsInc/fixDoc
adff347 Doc cleanup.
8e0437f Merge pull request #1780 from AnalyticalGraphicsInc/refdoc
2968229 Add Cesium.VERSION to CHANGES
1066ca4 Merge remote-tracking branch 'origin/master' into projection
c5f5e2f Merge master to refdoc
a256d63 Remove even more memberof from functions
718758a Merge pull request #1778 from AnalyticalGraphicsInc/type
933aee9 Merge pull request #1777 from AnalyticalGraphicsInc/options
d99479b Merge pull request #1776 from AnalyticalGraphicsInc/ie11-premultiplied
08f727d Added logic to use North-Up views when far from the ellipsoid.
fbf987e Merge pull request #1779 from AnalyticalGraphicsInc/version
74addce Remove more memberof on functions
23dc2f9 Put back comments for formatter
95178a3 Remove memberof from functions
019b208 Include VERSION property in Cesium object.
23946d1 Use memberof in defineProperties
140d7f3 Getter doc fix
48a9ac4 Bump version.
fa1e454 Improve reference doc for options parameters
5e77c03 Test workarounds for IE 11
d882629 Doc tweak
c08bf7a Add mapProjection option to Viewer and CesiumWidget
15ecd1f Merge remote-tracking branch 'origin/master' into projection
b238de6 Merge pull request #1773 from AnalyticalGraphicsInc/fixDataSourceCollectionRemoveAll
64895b4 Added options parameter to Scene constructor
26a1742 Added MapProjection interface for documentation
34562ac Fix regression in DataSourceCollection.removeAll.
43d4cc8 Rename scene2D.projection to mapProjection
533e50b Remove ability to change 2D/CV projection at runtime.  Cleanup camera creation in tests
a1e7326 Tweak CHANGES.md
341af42 Merge pull request #1763 from AnalyticalGraphicsInc/timeline
0a2d3f5 Merge pull request #1766 from AnalyticalGraphicsInc/fix1514
d433d22 Fix type information.
ec5bd73 Merge pull request #1770 from AnalyticalGraphicsInc/fixLabelBillboardReuse
6e3c865 Fix incorrect label position when billboards are reused.
5e1d4b8 Merge pull request #1769 from AnalyticalGraphicsInc/fixInfoBoxCode
660d46a Fix coding error defining a prototype function inside the constructor.
ec54d0b Merge pull request #1767 from fstoner/CartographicFromRadians
bb0025c Fix doc.
2bdb71d Fix fromRadians.
e7b51fa Fix doc.
4d2d2f8 Fix CHANGES.md
06135d5 Requiring longitude and latitude and defaulting altitude.
fc5fb36 Added fromRadians function to Cartographic.
152a08a Fix documentation for DataSourceCollection.
10da957 Merge pull request #1765 from AnalyticalGraphicsInc/jsdocImprovements
3aa77ca Merge pull request #1762 from AnalyticalGraphicsInc/toThrowOrNotToThrow
af99825 Improve JSDoc output.
08eca81 Changes after review.
6db6b6b Make timeline highlight ranges more configurable.
45da76f IE fullscreen iframe workaround for the timeline.
4ab3e62 Changes after review.
fbcd544 Tweak CHANGES.md
074436a Reorder b29 in CHANGES.md
b5ab81e Merge pull request #1757 from AnalyticalGraphicsInc/ie11-stencil
6197e8d IE 11 workaround for premultipliedAlpha
6fb0c05 Merge remote-tracking branch 'origin/master' into ie11-stencil
afb6e9e Misc test fixes
a668294 Merge pull request #1761 from AnalyticalGraphicsInc/fixDeveloperErrorSpecs
a60560e Merge pull request #1760 from AnalyticalGraphicsInc/fixSpecRunner
cc3756c Fix specs that throw DeveloperErrors.
bdf832b Remove unnecessary code that moved focused suites to be first.
4f2992e Merge pull request #1756 from AnalyticalGraphicsInc/fixRequires
37deb03 Potential IE 11 test fixes
237ca58 Remove unnecessary `../Core`-type paths for modules.
d52c965 Merge pull request #1752 from AnalyticalGraphicsInc/ie11-states
372c411 Merge pull request #1751 from AnalyticalGraphicsInc/sandcastleTweaks
f858cf3 sampleCoverage workaround for IE 11.0.8
892ca96 Remove dither from renderstate for IE 11.0.8
5a7c643 Minor Sandcastle improvements.
df16634 Merge pull request #1750 from AnalyticalGraphicsInc/compactMergeSortScratchArrays
d40573a Don't allow scratch arrays used by mergeSort to grow unbounded.
ff66c05 Merge pull request #1746 from AnalyticalGraphicsInc/supportTiledEsriMapServerWithLimitedExtent
cb55cc4 Merged master to supportTiledEsriMapServerWithLimitedExtent
ecdbfee Merge pull request #1745 from AnalyticalGraphicsInc/jsDocUpgrade
cc1315a Updated CHANGES.md
8e65ea3 Merge remote-tracking branch 'origin/master' into jsDocUpgrade
63ade47 Handle different projection for fullExtent, plus tests.
6434f85 Fix problems with an Esri MapServer with limited extent.
fbaf8e5 Merge pull request #1740 from andre-nunes/math
b589f06 Merge pull request #1742 from AnalyticalGraphicsInc/dojo-1.9.3
ec302f9 Merge master to dojo-1.9.3
9d771af Merge pull request #1741 from AnalyticalGraphicsInc/ie11Sun
69cc78b Merge pull request #1744 from AnalyticalGraphicsInc/issue1739
b51a073 Merge pull request #1743 from AnalyticalGraphicsInc/fixDoc
ecbbbbd Fix slashes.
f2896a2 Remove old version of JSDoc
97e2ae5 More work towards upgraded JSDoc
11ea846 Update CHANGES.md.
7b832af Make sampleTerrain wait for the terrainProvider to be ready.
4782dc7 JSDoc upgrade work in progress
cb44065 Documentation fixes.
df94ac4 Fixes sampleTerrain with STK World Terrain on Firefox.
469847d Fix documentation.
8aab494 Update Dojo from 1.9.1 to 1.9.3.
0eb2871 Test missing parameter behavior
cb8a58d Add comment
a0eaea9 Add comment
a187a00 Merge branch 'master' into ie11Sun
18c4e2b Merge pull request #1732 from AnalyticalGraphicsInc/blendColor
fb925fc Update CHANGES.md.
0361276 Fix sun rendering in IE11.
ebe403f Merge branch 'master' into blendColor
ce86597 Merge pull request #1733 from AnalyticalGraphicsInc/removeEnum
399bb8c Update CHANGES.md
c9ee297 Merge branch 'master' into removeEnum
28cc05e fix for generateDocumentation sort error
a2658b3 Merge pull request #1735 from AnalyticalGraphicsInc/camera-master
0abe099 Merge branch 'master' into camera-master
1f1e772 Merge pull request #1541 from AnalyticalGraphicsInc/cameraTransform
6a57f11 Remove reset to home view when a flight is started from the reference frame in the Sandcastle example.
c794925 Changes from review.
6c2acb6 Merge pull request #1734 from AnalyticalGraphicsInc/fixDoc
a971998 Fix incorrect param type syntax.
9810716 Fix broken link tags.
d4f1414 Some fixes after testing Sandcastle camera example.
f5ca374 doc error
2271d7d Updates after merge.
a2a1c07 Merge branch 'camera-master' into cameraTransform
881d519 rename error
86295c6 doc errors
d8c7bb3 Add exception doc.
bbe5af5 missing doc
af3da2f remove enumeration cleanup
203c28c Workaround missing blendColor in IE 11.0.8
9e492d2 Merge pull request #1731 from AnalyticalGraphicsInc/ie11TextureAtlas
6745fac Eliminate extra texImage2D call.
829bf39 Fix texture atlases in IE11.
b47f996 Merge pull request #1728 from AnalyticalGraphicsInc/readonly-scene
05ac6b9 Merge pull request #1730 from AnalyticalGraphicsInc/removeCreateAnimationCartographic
c05d836 Update CHANGES.md.
cc46750 Remove CameraFlightPath.createAnimationCartographic.
c2cd8b1 Fix BlendingState
b7b8e68 Merge branch 'master' into readonly-scene
8a40c5d Merge pull request #1729 from abwood/issue1434
0981c82 Fixes based on @mramato comments.
b92de10 Merge remote-tracking branch 'agi/master' into issue1434
dd596ac Minor cleanup after merging #1712
3575420 Merge pull request #1712 from andre-nunes/math
3cc8069 Use property getters for readonly properties in Scene
f5df71b More jsdoc Array fixes.
9d4b893 Remove extra newline in comments
4e2a814 Add pragma checks
306dc0e Remove comments
9d250cd Check for missing parameters
5170184 More jsdoc Array fixes.
4ece8a6 More jsdoc fixes to our usage of Array.
b415044 Merge remote-tracking branch 'origin/master' into readonly-scene
2797124 Fix whitespace
4d761c3 Merge pull request #1726 from gbeatty/glDepthRange
d0890e0 fixed typo in capitalization
997095b added new czm_depthRangeStruct and czm_depthRange constant.
b8e3de0 Merge pull request #1725 from abwood/terrainCredits
05052a8 Merge pull request #1721 from AnalyticalGraphicsInc/projection-doc
36077eb Merge pull request #1723 from AnalyticalGraphicsInc/undefined
24ec8ab Starting to fix array documentation markup for issue #1434
d249144 Removed default credits when constructing the CesiumTerrainProvider. The Terrain Server will provide proper attribution.
4da6e60 Use property getters for readonly properties in Renderer
f61e835 Removed =undefined for optional parameters
484e668 Tweak doc
4aa5348 Merge remote-tracking branch 'origin/master' into projection-doc
66eba57 Merge pull request #1722 from AnalyticalGraphicsInc/docFix
c4f191c Merge branch 'master' into docFix
61fb043 Fix projection doc
75b698c Merge pull request #1715 from AnalyticalGraphicsInc/viewer
1046925 Merge pull request #1716 from AnalyticalGraphicsInc/readonly
62b4822 Merge pull request #1718 from AnalyticalGraphicsInc/textureAtlasDoc
0c487c2 Fix doc
6cc5756 Update link in CHANGES.md
eb0aaf4 Fix documentation.
4ffd439 Use getters in Core
a13b232 Merge pull request #1714 from AnalyticalGraphicsInc/docFix
cb4abc9 More fixes.
f057fd1 Remove inspector from index.html; it is in Sandcastle
ecfb58c Use viewer in examples instead of cesium widget
5f406e3 Remove redundant link text.
5b62033 Fix many documentation errors.
df232ef Merge pull request #1711 from AnalyticalGraphicsInc/doc-tba
cf7e169 Merge branch 'master' into doc-tba
efa4c14 Merge pull request #1713 from AnalyticalGraphicsInc/moveTerrainToCore
804aa56 Fix require order.
13b5877 Fix test failures.
511b5eb Update CHANGES.md.
57ba8dd Factor Renderer/Scene stuff out of TerrainProvider.
289f200 Remove Scene dependency in TilingScheme.js.
1e6b902 Sort requires.
739cdd0 Move a bunch of terrain-related types to Core.
6d454a6 Move various files to their new homes.
2f93db6 Replace more DOC_TBA comments
c89224a Added options to PrimitiveCollection constructor
606b5a2 Rename CompositePrimitive to PrimitiveCollection
259abfe Merge branch 'master' into doc-tba
a41a3d1 Merge pull request #1710 from AnalyticalGraphicsInc/removeUnused
9543d56 Remove unused modules.
c990f6c Merge pull request #1708 from AnalyticalGraphicsInc/sortedRequires
7c4a3af Remove uneeded comment and sort modules.
9646cbe Merge remote-tracking branch 'origin/master' into sortedRequires
cca78f8 Merge pull request #1707 from AnalyticalGraphicsInc/sortRequires
5c9de3c sortRequires tweaks
f03e474 Updated formatting.
3ece78a Merge branch 'sortRequires' into sortedRequires
a6ea16f Update from review.
61135d2 Sort requires.
9668e04 Merge remote-tracking branch 'origin/master' into sortedRequires
33ed1ff Make sorting actually happen.
2ab4e2c Merge pull request #1702 from AnalyticalGraphicsInc/remove
3efa98e Merge pull request #1678 from AnalyticalGraphicsInc/resolutionScaleFactor
059bd8a Fixes after merge.
eed2802 Merge remote-tracking branch 'origin/master' into resolutionScaleFactor
0de08ed Changes after review
31ba41b Remove Shapes.
365ccb8 Improve CompositePrimitive doc
9baf0ce Merge branch 'master' into remove
bd9b94b Merge pull request #1692 from AnalyticalGraphicsInc/renderer
86e11b9 Fix whitespace.
2a6c0d5 Improved require sorting.
cd05c9b Replace more DOC_TBA comments
a6d79fd Add sortRequires target.
640a7f4 Replace some DOC_TBA comments with real doc
8c4f5b0 Remove DOC_TBAs in private comments
9b37574 Merge branch 'master' into renderer
2925d9e Merge branch 'master' into remove
deffaba Merge pull request #1693 from AnalyticalGraphicsInc/issue1691
5784a98 Changes after review
d09e446 Remove computeCircleBoundary and computeEllipseBoundary
a9e921d Merge remote-tracking branch 'origin/master' into resolutionScaleFactor
bf7b2ea Merge pull request #1697 from AnalyticalGraphicsInc/docfix2
72c1ff6 Fix comment.
c69ea94 Doc fixes
ce73204 Merge remote-tracking branch 'origin/master' into docfix2
eb00e30 Use Cartesian3.fromDegrees and friends in reference doc
4676c3a Merge pull request #1696 from AnalyticalGraphicsInc/docfix
57e5e1c Merge pull request #1695 from AnalyticalGraphicsInc/pickingExample
52df29a Fix trianglePlaneIntersection doc
c89c433 Remove picking example
f9d6050 Updates based on review
9f2a873 Fix new billboards added in 2D/CV
904f708 Tweak CHANGES.md
d868449 Fix CHANGES.md
9357fea Updated CHANGES.md
1e0cbb2 Replace more DOC_TBAs with real doc
898b137 Replace DOC_TBAs with real doc
765f8a7 Undo accidental doc changes
c5fee83 Use property getters for readonly Primitive properties
e4b0860 Remove public use of Context
8e75125 Remove reference to Context in the public doc
9f773c4 Made UniformState private
c7bbf3b Replace createTextureAtlas with new TextureAtlas
4d4e563 Fix TextureAtlas path
0ae5921 Move TextureAtlas and TextureAtlasBuilder (ugh, back to) Scene
f0fa1b2 Rename description to options
6fa428a Fix JSHint
4bd4ee1 Move PixelFormat to Core
ede3bb9 Mark MipmapHint private
a9c8d79 Mark PixelDatatype private
c57454b Move Pass to Scene
6a7a74d Move some enums to Scene
23d67a6 Made Texture enums private
80c9a67 Mark BufferUsage private
6b1f038 Merge remote-tracking branch 'origin/master' into renderer
f299813 Make RenderState private
1fbe501 Remove some Context doc
1e1f820 Replace direct context.draw calls with DrawCommand.execute
c2c9a1a Mark more classes private
16aa00f Mark deprecationWarning as private.
2ca1ec0 Use spyOn
a4b1100 Update doc
69cf96d Added deprecationWarning
f2a549b Merge remote-tracking branch 'origin/master' into resolutionScaleFactor
b21191e Merge pull request #1671 from AnalyticalGraphicsInc/conciseCartesian3
1995922 Merge branch 'master' into conciseCartesian3
f84f65c Merge pull request #1681 from AnalyticalGraphicsInc/deprecationWarning
3e7a68a Mark deprecationWarning as private.
e55b643 Use spyOn
d47f7d9 3D -> heights
3661952 Update doc
505bd97 Added deprecationWarning
914bac0 Merge remote-tracking branch 'origin/master' into resolutionScaleFactor
b3f6fe7 Merge remote-tracking branch 'origin/master' into renderer
8d6897d Add interleave flag to Primitive
21fc94c Fix JSHint warning
ea29ba7 Remove VertexLayout
4eaf54f Remove doc for VertexArrayFacade
ca2eb73 Removed VertexArray doc
47d7407 Remove UniformDatatype
3b536c3 Merge pull request #1680 from AnalyticalGraphicsInc/lighting
9228be1 Merge remote-tracking branch 'origin/master' into lighting
08d002b Remove Texture doc
4ac0a1e Remove ShaderCache doc.  Minor lifetime cleanup.
972197b Remove more Renderer doc
22d478e Add options to DrawCommand and removed doc
e07ddf3 Remove public CubeMap and createShaderSource doc
7a0093d Add options to ClearCommand and remove doc
3b7dbef Merge pull request #1675 from AnalyticalGraphicsInc/indices
b1f3cbd Add specs for PrimitivePipline geometry packing.
5234baa Remove Buffer doc
6600d69 Update CHANGES.md
e3bc944 Add specs.
356e9b0 Revert no longer needed changes.
808a93d Update CHANGES.
0d796f8 Fix billboards
46b97b9 Simplify resolutionScale by removing it from the scene and computing it automatically in UniformState.update.
535d41c Merge remote-tracking branch 'origin/master' into resolutionScaleFactor
67be94a Ongoing resolution scale work.
539863b Merge pull request #1676 from AnalyticalGraphicsInc/targetFrameRate
efa3ba7 Fix typo.
faaac03 Fix typo.
0cd6ba0 Fix typo.
1e7079c Ambient light workaround
5c6ca47 First cut at resolutionScale uniform.
4104c68 Use property setter.
d3daff9 Fixes after review.
80efb37 Merge pull request #1679 from AnalyticalGraphicsInc/preferSystemNode
ddd1be5 Force a resize when scale-factor changes.
07807b7 Add resolutionScaleFactor to CesiumWidget and Viewer.
025058e Add ability to set target frame rate.
c90c366 If `node` is in the path, use that instead of the old bundled executables.
f90ad9f Fix geometries without indices
434f56a fix documentation
7ccd66d update CHANGES.md
f4ce136 update sandcastle
f731329 Merge branch 'master' into cartesian3
7dae3e4 add functions for #1586
0819529 Use linear interpolation when close to destination in 2D and Columbus view.
a8c5c7d Merge branch 'camera-master' into cameraTransform
bc92d8f Reset camera reference frame to identity after home flight.
9ae103e Merge branch 'camera-master' into cameraTransform
a700e80 Update CHANGES.md.
a99b696 Fix home view button when in 2D/Columbus view.
6c6d296 Flights do nothing when morphing.
fbeef62 Fix fliy to my location in 2D/Columbus view.
e4e4749 Use scratch variables when converting camera transform to Columbus view and 2D.
96bd1f1 Merge branch 'camera-master' into cameraTransform
563ab87 Tweak CHANGES.md
1226d09 Merge branch 'camera-master', remote-tracking branch 'origin' into cameraTransform
c3ea5a4 Disable translate in 2D when camera is not in world reference frame and change left mouse click to rotate the map.
7468674 Update CHANGES.md.
414cb42 Add/fix tests.
afa88f0 A few more fixes for the camera Sandcastle example, camera flights, and geocoder flights.
93c07c7 Fix scene transitions when following an object. Fix DynamicObjectView. Add height to lookAt in 2D.
1564869 Make lookAt work as close as possible in 2D.
3ba77aa Make Camera.transform work in 2D. Clean up more of DynamicObjectView by removing 2D specific code.
54cc36e Clean up DynamicObjectView by removing columbus view specific code. Will also remove 2D specific code soon. Update CHANGES.md about removing CameraColumbusViewMode before I forget.
3be85fd Remove CameraColumbusViewMode.
a0f8aff Fix tilt in columbus view.
0b9be14 Fix morphing to different scene modes.
b6617a1 Make camera transform work across modes automatically WIP.

git-subtree-dir: cesium
git-subtree-split: ea074b625d0314119c4e04bd43824fafb9b43e42
update the kml branch of cesium
more kml test data
add a bash script that converts kmz files to kml

as kmz is actually a zip containing kml files, all the script is doing
is unzipping and renaming
update the node.js configuration (as connect was updated)
add a bit more kml data sources for testing
get the highlighting to at least work on the selected surface

more work needs to be done to
a) color every surface of the building
b) really color the selected surface instead of creating a new one that
is in front of the selected one and that is colored instead