SERVER-7099 "Syncing to: hostname" can appear in errmsg

Renamed errmsg to lastHearbeatMsg to better reflect the actual contents of the message.
SERVER-7380: make uassert 13419 consistent with permitted priority values