Fix for "Remote host closed connection" exception

EINTR errors are recoverable, just need to read() again.
Randomly while looking at files in the file browser the contents view will be empty or files will not be shown when clicking a discloser triangle. Seems to happen more when running in XCode than when running by itself.
Fix file names with spaces not working in the contextual menu

Files with spaces end up with 4 extra spaces after the name. This stops them from working with the various commands in the contextual menus.
Fix drawing ref labels on the next tableview column

If there are a large number of refs pointing to a commit, then they may be drawn on top of or behind the other columns.
This will not show any labels that don't fit.
Bugfix: Avoid looping while parsing the children of a tree

Happens very intermittently, readLine keeps returning "\r".
Patch from pieter
Add support for QuickLook in 10.6+

In 10.6 Apple removed the private QL API that existed in 10.5 and added a new public API. However they did not port the new API back to 10.5 so we have to do some work to get it working in both.

This patch has GitX choose the correct version at run time.
    - The delegate code is based on Apple's QuickLookDownloader example project
    - added three of the public API methods to CWQuickLook.h to avoid warnings about unknown method calls
    - In ApplicationController try to load the public API first then load the private one if it fails
    - Created PBQLTextView, a subclass of NSTextView to allow the space key event to toggle the preview panel
    - PBGitHistoryView.xib:
        - set the text view's class to PBQLTextView
        - connected the history controller to the controller outlet
        - bound the quick look button's enabled binding to File's Owner.selectedCommitDetailsIndex
        - added "Quick Look" to the quick look button's tooltip
    - The commit list table view toggles the panel if the tree view is active
    - changed name of the toggle IBAction method which caused MainMenu.xib and PBGitHistoryView.xib to update
Maintain the selection in the file browser when the commit selection changes

    - only maintains one item, if multiple items are selected then only the first one will stay selected
    - if the file is removed in the new commit then don't select anything, then if a new commit is selected that does have that file it will be selected again
    - this does not maintain the expanded state of folders other than the one(s) that contain the selected file
    - in PBGitHistory.xib Tree Controller turn off:
        - Avoid Empty Selection
        - Select Inserted Objects
Remove the lower toolbar from the history and stage views

    - in the history view move the detail/tree view and quick look buttons to the top toolbar
Show the full width of text in the file content text view

The text view was wrapping text well before it reached the edge of the view.

In PBGitHistory.xib in the textview for the file contents check the Resizable Horizontally checkbox in the Size Inspector
Simplify install.sh script by removing a superfluous string comparison function.
Merge remote branch 'brotherbard/experimental' into local branch 'bb/experimental'
Post merge fix: Move remote XIBs into English.lproj and make them localized again.
Post merge fix: Remove unused KBPopUpToolbaritem files.
Move the jQuery lib from html/js into html/lib where it should have been right when I added it.
Add a note to .gitmodules telling why we need to keep using Pieter's version of libgit2.
Make some of the sheets resizable (you never know how much a user wants to enter ;)).

Ignore the RepositoryWindow.xib change I tried something but set it back to the value it had before.
PBGitHistoryView.xib: Set Key Equiv. of QuickLook button to Space.
Remove the bad file descriptor #warning since that was likely caused by calling standardOutput via dot notation on NSTask and this is fixed now.
Remove my 10.6 QuickLook panel code since Nathan's implementation handles this more gracefully (includes 10.5 support).
Post merge fix: Remove some of my left over code for the 10.6 QuickLook panel support.