Add debug logging via macro

- Added debug compiler flag
- Update example client - dont use assert() causes issues in release mode
- In ref to https://github.com/beltex/SMCKit/issues/5