[RFC] Extended 3D support

This PR is currently just a RFC for features I'd like to get merged into your 3D branch. They are not tested yet, but before spending more time on it I'd like to get your feedback first.

The "start XBMC in 2D mode" thingy is a adapted version from https://github.com/baijuxavior/xbmc/tree/3d