changed: Add rule for selecting remote (or non-local) items for player selection rules
guilib: simplify BindToTexture and support any unit

All stages we support are in order after texture 0
gl: add missing alpha setup for texture stages
gl: avoid using explicit texture, use bound texture
opengl/d3d: add support for limited color levels (16-235)
intents: Add a java class for listening to intent broadcasts
intents: hook up a JNI_OnLoad for finding our java functions

This should be extended to do lots more, so that we can quickly add java code
and access it from native, without the mess that is jni.
droid: remove the stateful life-cycle manager

Simply properly react to messages instead. This ends up being much cleaner and
more straightforward.

There were many problems with the old life-cycle code:
- It based all decisions on gain/loss of focus, which is incorrect, as that
  pertains to input rather than windowing.
- Due to the above, there were many race conditions.
- The startup/teardown were convoluted
- It was a mix of examples, a stateful one where the app keeps track of status,
  and a stateless one mainly handle by appglue. Since we really only care about
  a handful of events (startup/exit/newwindow/destroywindow mainly), stateless
  is the way to go for us.

This fixes random black-screens, fixes, and crashes when starting XBMC as a
launcher.
[rbp] Handle resolution changes during video stream.

When the resolution changes, GPU sends a port settings changed message. Host has to acknowledge it by disabling and enabling the affected ports.
Revert "dvdplayer: update player state with reference to dts and absolute time"

This reverts commit f05ffc6d8544f37d8721c6bc863387a3ae85ae9a.
dvdplayer: do not pass display time to a/v players if not initied
dvdplayer: update state after flush buffers
dvdplayer: update play state before sending state to a/v players
Merge pull request #2286 from popcornmix/resolution_changes

[rbp] Handle resolution changes during video stream.
Merge pull request #2314 from FernetMenta/chapterseek

fix seeking chapter
Fix empty music title announce.
intents: add the very beginnings of an intents class

Implemented as a singleton, this will eventually have functions for setting up
receivers, callbacks, etc. Also, our broadcasting can move into here, to clean
up some of the mess in XBMCApp.
intents: Hook up our intents listener

For now, all it does is prints to the log
intents: add a sample listener for sdcard insert events
Merge pull request #2276 from theuni/intents

Beginning of Android intents handling