Remote control support for basic player functions

The Linux Input driver is used to get remote control events.
See http://www.kernel.org/doc/Documentation/input/input.txt
See evtest utility at http://cgit.freedesktop.org/evtest

The RemoteControl class tries to guess the /dev/input/event* device of
the remote control.

Designated Initializers are an ISO C99 feature implemented in gcc, but
not implemented in GNU C++.
See http://gcc.gnu.org/onlinedocs/gcc-4.6.1/gcc/Designated-Inits.html
Disable the remote control as an X11 input device

Otherwise numbers and cursor keys do result in 2 events.
See xinput utility at http://cgit.freedesktop.org/xorg/app/xinput/
Added missing ffmpeg include

/usr/include/libavutil/mathematics.h:
int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq) av_const;
Replaced deprecated FFmpeg functions

av_find_stream_info --> avformat_find_stream_info
av_close_input_file --> avformat_close_input
avcodec_open --> avcodec_open2
avFormatContext --> file_size - (removed)
avio_set_interrupt_cb --> avFormatContext->interrupt_callback

With this modification the Demuxer has no static variable anymore.
Now it is possible to have several player instances in the same process.
Recorder now also configures interrupt callback.
Printing error message when snd_pcm_mmap_commit fails
Implemented flash/tick sync test

Many black frames are displayed and one white frame. When the white frame
is displayed a tone should be audible.
Including stddef.h to get NULL declaration

KeyCodes.c:29:27: error: 'NULL' undeclared here (not in a function)
boost::asio method name changed, boost 1.49
Using video frame PTS from decoded avFrame

No AV sync with old implementation and libavcodec 53.35.0.
Writing audio and video decoder output into jpg-files for debugging purposes
Fixing AV-Sync
Printing FFmpeg error strings