Keyboard handling code moved, MPRIS v2 support added
Merge pull request #34 from quom/added_dbus

Implemented DBus control API & moved keyboard handling code to use this API
Moved DBus onto session bus and added error checks
Merge pull request #47 from quom/dbus_fixes

Moved DBus onto session bus and added error checks
Add missing locks to audio class
Increase audio buffering to gpu

When the arm is busy the gpu fifo can underrun, especially when audio codec uses short duration packets (like DTS)
Also increasing the packet size makes better utilisation of the audio queue inside the GPU
Fix dos line endings
Add sleep to keyboard thread to avoid hammering cpu
Limit buffering checks and control polling to 50 times per second
Increase buffering threshold after underrun, like xbmc
Add Dynamic Range Compression scheme

This adds a DRC scheme. A number of dBs of amplification can be chosen.
The audio_decode component is setup to do the usual downmix operation early
before most of the audio buffering. This means we get a second or two to
detect if the downmix would overflow. This allows the amplification to be
attenuated in time to avoid the clipping.
The attenuation gradually decays when overflow condition stops.

Requires updated firmware
Handle the case where EOS message fails.

When GPU fifo is full, the attempt to send the eos message may timeout. Increase the timeout and if that still fails then consider the stream to have ended.
Fix for --win option not working
Add orientation support for videos
Initialise orientation to zero
Don't want to boost centre channel of stereo audio
Fix for volume adjustment when amplification is not enabled
Improvements to clipping with amplification enabled
Add in a live mode which maintains latency for vod/tv
Use normal seek mechanism for start pos