WebGL2: Add support for TEXTURE_BINDING_3D. (bug 1082952 r=jgilbert)

--HG--
extra : rebase_source : aac040bf24280dfcbc0fbbe4a20459f0b609a971
Bug 1083447 - texParameter and getTexParameter should accept the TEXTURE_3D target in WebGL2 mode - r=jgilbert