Commit Window: Refactor

The view layout is rearranged in order to animate showing the table, which is now shown below the toggle button with the Cancel and Commit buttons sliding down. Additionally, when not showing the table we remove all relevant views from memory.
Rename `populateTableView` to `setupArrayController`

With the previous refactoring the new name is more appropriate.
Disable toggle button in the commit window when animating
Bring the action button back for the commit window

The new layout allows us to place the action button back in its original place when the table is revealed.
Regexp search a 5+ MB file could find matches in wrong locations

The code was supposed to stop the search after 5 MB, this didn’t always work, and when it worked, the returned match offsets were not always correct (as they didn’t account for the capped buffer size).
Fix include path (make it relative to current directory)
Do not use weak pointer for NSSavePanel (crashes on 10.7)
Remove unused NSView, NSWindow, and NSScreen categories
Remove unused include
Make search field first responder before showing window

On Yosemite the search field will do an animation when made first responder and while this is happening, it appears that the effective first responder remains unchanged, so if we set first responder after ordering front the window, the user’s input may not go to the expected interface element.
Don’t restore untitled document window with no project path
Introduce ‘disableTabAutoClose’ defaults key

This disables tabs from closing when the tab bar overflows.
Add “Show in Finder” context menu actions to bundle editor

When a default/pristine item has local changes, the Show in Finder menu item shows a submenu with all the paths.
Swap “New File” and “New Folder” key equivalents to match Finder
Checkin release notes
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.
Never re-use a closed HTML output window

Starting with 10.10 re-using a closed HTML output window is prone to crashing, either when opening the window with the WebView, or when later closing it.

The disadvantage of not re-using HTML output windows is only that we lose potential history, for example doing multiple documentation lookups, closing the window in between, would previously allow the user to go back in the history of words that had been looked up.
Offer user to uninstall (trash) plug-ins which crash
Handle template image drawing in OFBPathInfoCell

If the close button image is a template image we draw it using the appropriate color.