Fix tests to run on Windows platform

Changed line endings to LF and added .gitattributes file to enforce LF
line endings in future. Changed SbtBuilderTest to correclty check
classpaths on both Windows and Unix systems. Proper try/finally for
tests using createProjects added.

Fixes #1001981
Throw the exception return by the the presentation compiler

Only the Left side of the Either was taken in account. Adds pattern
matcher to display the real exception.
Merge pull request #590 from skyluc/issue/swallowed-exception-in-ScalaJavaMapperTest

Throw the exception return by the the presentation compiler
Merge pull request #588 from Kwestor/windows-build-1001981

Fix tests to run on Windows platform
Fix race condition in local rename refactoring

The local rename refactoring could cause a race condition (running a
presentation compiler method outside the PC thread), now it's safely
wrapped inside an ask call.