Merge branch '1.4' of https://github.com/void256/nifty-gui into 1.4
Added null sound device again

This is like the only null object that is useful.
Fixed usage of wrong padding for width calculation
Merge pull request #187 from mkaring/1.4

Added null sound device
Merge pull request #188 from iamtakingiteasy/1.4

Added resource loader proxy of nifty for resource loading of fonts
Remove unnecessary Renderstate saving in Element/Effect rendering

Kudos to @mkaring for figuring this one out.
Fixed error in finding render order

 - The error cause elements to be ordered by their ID instead of
   their insert order, causing entirely unexpected and wrong
   rendering results.
Merge branch '1.4' of https://github.com/void256/nifty-gui into 1.4
Merge pull request #189 from mkaring/1.4

Fixed error in rendering order
Fixed tree box

The tree box is now responding to input events again.
Removed illegal attributes from treebox definition
Merge pull request #190 from mkaring/1.4

Fixed tree box
Bugfix batched renderer (changes to texture atlas need bind() call!)

Usually when Nifty renders using the batched renderer the texture atlas
is the only texture bound to GL_TEXTURE_2D for the whole time.

However since we allow dynamically creating, modifying the texture atlas
it is possible that calls to: clearAtlasTexture(), addImageToTexture()
and  removeFromTexture() are executed while the texture atlas texture is
not currently bound.

This patch fixes this. Please note that we call bind() directly in the
method and therefore potentially too often. This is not a problem for
clearAtlasTexture() and removeFromTexture() because they will be called
just a few times (or only once for clearAtlasTexture()). For
addImageToTexture() we bind the texture atlas for each call of that
method with is not optimal but shouldn't matter too much (mot verified
in detail tho).

Kudos to Andreas Drewke for figuring this one out!
BatchRenderDevice should call renderBackend.endFrame() (was missing)
Lwjgl: CoreProfileBatchRenderer: Save/Restore GL state we modify

This way we can play together much nicer with existing Applications that
mix Nifty rendering with other non-Nifty rendering.
Changes in nifty (and all it's batch renderers) for new approach of rendering fonts; with separate texture for each font.
Merge remote-tracking branch 'upstream/1.4' into HEAD

Conflicts:
	nifty-renderer-jogl2/src/main/java/de/lessvoid/nifty/renderer/jogl/render/batch/JoglBatchRenderBackend.java
	nifty-renderer-jogl2/src/main/java/de/lessvoid/nifty/renderer/jogl/render/batch/JoglBatchRenderBackendCoreProfile.java
	nifty-renderer-lwjgl/src/main/java/de/lessvoid/nifty/renderer/lwjgl/render/batch/LwjglBatchRenderBackend.java
	nifty-renderer-lwjgl/src/main/java/de/lessvoid/nifty/renderer/lwjgl/render/batch/LwjglBatchRenderBackendCoreProfile.java
Fixes for resizable texture fitting