- integrate feedback from @tigoe

- introduce central class
- event handler types
- primitive type specific characteristic classes
- clean up pin defines in examples
- other misc clean up