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.
Closes #1120
Add LwjglHeadlessTest
Merge pull request #1121 from xoppa/3dapi

Add LwjglHeadlessTest
Add LwjglHeadlessApplicationConfiguration
Add interval
updated version, mea culpa
Merge branch 'master' of https://github.com/libgdx/libgdx
Default to 60fps
MipMapTest: added ui.act in render method
Merge pull request #1124 from hneuer/mipmaptest

MipMapTest: added ui.act in render method
Add missing constructor.
Fix setCursorPosition to use top-left origin

Fixes #1003.
Removed unneeded method parameter usages of deltaTime.  Removed OverlapTester class because it's all wrapped up in the Rectangle class and isn't obvious to new users.
Added changes to main menu screen to reflect new usage of Rectange rather than OverlapTester
Merge pull request #1130 from david99world/master

Removed unneeded method parameters and OverlapTester object
Merge pull request #1037 from batesj/deadlock

Workaround resume/pause deadlock in Android by killing
Fixed error handling in AsyncExecutor's GWT emulation
Formatting
Advance x when tile is null