core: add HasProp to PropMgr interface
msgstream: flush buffer when msg.Warnf or msg.Errorf is called