error handling

- added unified error handling as a light weight wrapper around native
error
- more robust logging interface
Merge pull request #25 from wafflehaus/proto-error

error handling