Mipmapped texture arrays

Fixed TextureUtil to properly handle mipmapped texture 2d arrays and 3d textures
Ability to emit a certain number of particles
reduced code duplication
Merge pull request #140 from phr00t/master

Ability to emit a certain number of particles
Merge pull request #128 from GreenCubes/patch-1

 * Fix issue where using a texture array with pregenerated mipmaps would fail with a GL error.
 * Remove references to esoteric EXT_abgr and EXT_bgra extensions entirely, which might even be causing issues on some systems, instead replaced with standard OpenGL 1.2 constants
 * ARGB8 and BGRA8 formats now support sRGB -> linear conversion if sRGB pipeline is used, previously they were ignored.
 * All float and half float formats are considered supported if we either support OpenGL 3 or ARB float texture.
 * Cleanup TextureUtil a bit by removing constant references from ARBHalfFloatPixel, ARBTextureFloat, EXTPackedFloat, EXTTextureSharedExponent and EXTTextureSRGB to GL21 and GL30 classes (which are identical anyway).
 * Check if we support sRGB textures before choosing sRGB format (although this check should have been done earlier? not sure..)
Merge branch 'master' of github.com:jMonkeyEngine/jmonkeyengine
 * More sanity checking when enabling sRGB pipeline, to ensure its actually supported before calling any sRGB related functions. Also provide more log messages if something is odd or goes wrong.
 * Remove the sanity check from TextureUtil since it is now done once during initialization of the renderer.
 * If LwjglRenderer.VALIDATE_SHADER is enabled, log shader compilation warnings as Level.WARNING instead of Level.FINE. Also slightly better grammar in shader compile / link messages.
SDK:
- fix recognition of boolean properties is/set pattern
Merge branch 'master' of https://github.com/jMonkeyEngine/jmonkeyengine