Added api for errors, warnings and messages with optional field ids
Merge branch 'master' of https://github.com/PicNet/picnet_closure_repo