Merge pull request #1 from libgdx/master

update
Merge pull request #2 from libgdx/master

Update private fork
Added a simply system to keep record of the x most recently played
OpenALSoundS (where x is the number of simulataneous sources allowed) and,
in case a new sound refuses to play, stop()'s the least recently played
sound and attempts to play it again (but only once, to prevent endless
loops in case something else prevents the sound from playing).
Added removal of disposed sounds from the buffer
initial commit of new LwjglHeadlessApplication for a headless libgdx,
some LwjglApplication cleanup
add Apache Header
Workaround resume/pause deadlock in Android by killing

https://github.com/libgdx/libgdx/issues/904

Repro steps:
1. Open libgdx app.
2. Open Android Recent Apps.
3. Double-tap Recent Apps with ~500ms between taps.
4. Tap Recent Apps once to bring libgdx app back -- if it comes back with no ANR, repeat steps 2-3.

As an interim bandaid we are killing the app if pause takes longer than 4 seconds (ANR is 5 seconds).

With this patch, the app closes during pause instead of ANRing.
fix natives for LwjglHeadlessApplication
new Application type HeadlessDesktop for LwjglHeadlessApplication
Experimental: Attempted fix for rare ArrayIndexOutOfBoundsException

This might fix #1095 It will at least prevent crashes in those weird situations.
Merge remote-tracking branch 'origin/master' into patch-3
Switched to NUM_TOUCHES
Merge remote-tracking branch 'upstream/master' into headless
modify CHANGES
NetJavaImpl: getResultAsString removes line breaks
- fixed getResultAsString to copy the whole http respnse into the string
- added a second button to NetAPITest to download a text file
Fixup button state in test.
Add parameter to hide the gradient editor of the gradient panel
Make background color of the particle renderer configurable
Merge pull request #1115 from veger/particleeditor-2

Make particle editor background color configurable
Small changes, mostly docs