fix build system - and add some more features

Hi Tony,

this pull request fixes the  build problem - the osc test program is now optional.

It also includes some additional work I did:
- some fixes to the parser
- started making yaml versions of the HID usage tables - these could be used by applications to make a human readable output of what a device can do.