Update a document’s matches before leaving it when using [⇧]⌘G

This way we only return to the document if it still has matches and will return to the correct position of the match.
Get rid of APP_REVISION

This was just mirroring the last part of our version number so redundant and it wasn’t monotonically increasing as we switched from alpha.n → beta.1 (with n > 1), so it probably did more harm than good.