Fix JGit test_show_revision_for_merge - line ending sanitization

The test_show_revision_for_merge fails on the JGit implementation on
Windows, but runs successfully on Linux. The same test runs
successfully on both JGit and C Git on Windows and Linux.

The difference seems to be in line ending handling in the diff output
from JGit on Windows.  The output includes the \r character in
addition to the \n character.  Rather than attempt to modify the
output of JGit for Windows, this change adapts the test to that output
difference by removing the leading and trailing white space characters
from the file name in the transformed diff output that is created
during test execution.

This does not alter the behavior of the production code.
printing localized error message on SSLException since current error message is not enough to determine that there is a ssl problem
Throw GitLockFailedException on repository lock failure

Refs #17, #31
Merge pull request #43 from mshibuya/feature-checkout-lock-failure

Throw GitLockFailedException on repository lock failure
Merge pull request #62 from asbachb/master

Provide a more detailed error message when an SSLException occurs on checkout
Merge pull request #60 from MarkEWaite/master-fix-test-case-windows-diff-for-JGit

Fix JGit test_show_revision_for_merge - line ending sanitization