Fix shader compilation failure in IE11.

Fixes #2358

A function needed only in 2D mode was not being included in 3D.  Other
browsers were ok with this because the functions that called the missing
one were never called, but IE had a problem with it.
Merge pull request #2359 from AnalyticalGraphicsInc/ieCompileFailure

Fix shader compilation failure in IE11.
addinf OGCCapabilities and OGCHelper
Merge remote-tracking branch 'upstream/master' into OGCHelper