- 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
Merge branch 'V3.1' of https://github.com/xeolabs/scenejs into luke

Conflicts:
	.gitignore
new build