fixes #109: Assigning an id from a custom attribute to a control

resolveParameters() needs to happen before makeFlatControls() since
makeFlatControls() resolves the ids and propagates the id to child
elements. which is ok ... unless someone comes and changes the actual
ids with some $parameter! In that case makeFlatControls() did nothing
since there was no actual id available! This commit seems to fix that.
I'm not sure if something else breaks now although all the standard
demos/examples I've checked seem to work.

This part of Nifty is kinda scary! Note to self: make a better
implementation of all of this for Nifty 2.0!
JOGL examples project added
update jogl version
Conflicts:
	nifty-renderer-jogl2/pom.xml
gitignore added
adding changes to main pom.xml
JOGL: mouse move support added to JoglInputSystem
Conflicts:
	nifty-renderer-jogl2/src/main/java/de/lessvoid/nifty/renderer/jogl/input/JoglInputSystem.java
JOGL: batch renderer support added
JOGL: add core profile batched renderer support
fix core profile GL extension check so that no silly GL error appears
fix resolution switching for batched renderer using lwjgl and jogl
added NullSoundHandle to NullSoundDevice for improved stability
BatchRenderDevice: fixed text encoded color support
Enabled Core-Profile/Batch-Rendering for TutorialMainNativeLWJGL
JOGL: add NiftyTutorialJOGL and extract setup code to JOGLNiftyRunner
JogAmp 2.0.2-rc12 update

nifty-renderer-jogl2/pom.xml: Update jogamp.version to 2.0.2-rc12

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>