Updated example

Visual feedback on button presses
Merge remote-tracking branch 'upstream/master'

his merge is necessary,
Merge remote-tracking branch 'upstream/master'
added AVFoundation links for non local OpenCV to CMakeLists.txt
Change build-osx-snapshot to build against x86_64 only
Make only for x86_64 architecture
Added debug info to DFU util
Added utility to get firmware version
Fix NULL pointer dereference in psmove_calibration_new()

Thanks to Pravin Bhat for the bug report and fix suggestion.
Calibration data saving in /etc/psmoveapi on Linux

Calibration is saved in /etc/psmoveapi for root user on Linux.
Non-root users read calibration first from local ~/.psmoveapi
directory and then from /etc/psmoveapi if there is no local
calibration data.
Daemon mode for psmovepair

Psmovepair can be run as daemon monitoring for controller
connections via USB and automatically performing pairing procedure.
Removed unnecessary ifdefs
Fixed according to review comments.

Used effective uid instead of real uid to detect root user.
Used snprintf instead of stecpy+strcat+strcat in
psmove_util_get_system_file_path()
Added Bluez 5.x support

    New cmake option PSMOVE_BLUEZ5_SUPPORT.
    If it's enabled, linux_bluez_register_psmove() calls
    linux_bluez5_register_psmove(), which fills /var/lib/bluetooth
    according to Bluez 5.x rules.
    Added automatic detection of init system type (systemd, upstart,
    sysvinit) and used appropriate bluetooth daemon start/stop commands
    for each type.
Merge pull request #96 from SableRaf/master

Various fixes
Merge pull request #94 from kdienes/zero-host-address

Zero bluetooth host address in case we don't find one
Merge pull request #101 from MooseTheBrown/automatic_pair

Automatic pair
Add utility for retrieving Move firmware info.
Merge pull request #103 from nitsch/firmware-info-support

Add utility for retrieving Move firmware info.
Fix inline function definition

Compiling the library according to the C99 standard (which, for instance, is clang's default setting) would fail due to an undefined reference to "psmove_decode_16bit" when linking against libpsmoveapi. This fix makes sure that psmove_decode_16bit() is always resolved in the single translation unit that uses it, while keeping the "inline" hint.