Add a dirty flag to regenerate the mipmaps of a texture

In the example, when sceneTexture changed, we were calling dirty() on lumTexture, thinking it will cause the mipmap chain to be regenerated.
In fact, this caused the texture to take this path https://github.com/cedricpinson/osgjs/blob/develop/sources/osg/Texture.js#L357-L369.
There, the texture was reallocated and initialized to 0 (glTexImage2D(..., null)), so the following call to generateMipmap wasn't supposed to work (even if it did on several platforms ...).
This patch adds a check if we want to regenerate the mipmap chain in the "normal" path of Texture.apply ( = texture allocated and not dirty).
The mipmapDirty flag is intialized to false so this patch won't change anything for the existing code.
Fix tonemapping example ui

Locality control moved to Reinhardt folder
Show the controls opened by default.
Merge pull request #99 from Teybeo/bug/fix_tonemapping_example

Bug/fix tonemapping example