- also removed duplicate code in flags.js,
- and rebuilt api,
- and ammended .gitignore to exlcude node_modules.
Merge pull request #312 from nat-n/V3.1

#311 SceneJS_Display._ambientColor now supports an alpha value
Fix rebuilding programs after context loss

Uniform state needs to be reinitialized after context loss occurs.

Fixes a regression introduced by commit "Cache shader program uniform
state to avoid redundant uniform1i calls".
Merge pull request #313 from NVIDIA/fix-rebuilding-programs

Fix rebuilding programs after context loss
Fix interleaving offsets and stride not getting inherited

Nodes inheriting VBOs from other nodes need to get the correct
interleaving parameters from them as well to render the geometry
correctly. Fixes regression from commit "Interleave vertex attributes
into a single buffer for more efficient drawing". Tested by
examples/geometry/vertexSharing.html.
Merge pull request #315 from NVIDIA/fix-vertex-sharing

Fix interleaving offsets and stride not getting inherited
Cube mapping support - added new "cubemap" node
Task status popups enabled by default
Cube map environment reflection example
Rebuild library
New plugins: "cubemaps/london" and "cubemaps/clouds"
Plugins and ZIPs rebuild
Merge branch 'V3.1' of https://github.com/xeolabs/scenejs into V3.1