Fixes for bugs found in example program development
Compiler:
- Turn off function trace in generated checkbag-code
- More fail-safe ADD macros
- Changed field macros/functions for arrays
- C++ api generation bugfixes
Library:
- Errno value 0 is now "no error"

Change-Id: I7cdc60d99ccb511fe0b6b72eeaeda3fd74ec7b6e