Fixed test for deviceEventListener.
I didn't realize how it was supposed to work.
Related to issue #7
Merge pull request #10 from kmpm/segfault

Fixed test for deviceEventListener.
Added some examples
Merge pull request #11 from kmpm/examples

Added a example
clarify location of win/mac installers