added an imagefactory to XBMC. The only libs currently are libjpeg-turbo and cximage.
Merge pull request #2040 from wsoltys/imagefactory

Imagefactory for XBMC
AE: introduce force flag into interface
AE: (Alsa) Wait for at least one audio output device when starting up for max 10 seconds
AE: Fix suspend / resume with alsa - (Warning: Race condition AddPackets still to fix)
AE: Enable SoftSuspend on Linux (Stop h0gg1ng the sound device)
AE: Wait until we are in a safe state before further deinitializing the sink (care for deadlocks)