Add public semantic error reporting
Closes open-source-parsers/jsoncpp#57