Fix app version identifier
Fix legacy logfile issue for #426

* LogEvent properties override event metadata
Cache of plugin error needs errorCode data #426

* include error code in cached result