Fix a path issue on windows when trying to run tests through rake.
Fix Tempfile usage.
Close repositories before trying to delete their folders.
Close opened repositories.
Close opened repositories.
Close opened repositories.
Force a GC run.

Some of the reference tests fail otherwise because some file handles
are kept open and windows can't delete folders with opened files in them.
Make sure all repos that are opened are closed again.
There is no /home/ on windows. Just try to open some folder inside the rugged dir.
Change Blob#from_io to not silently swallow errors.

Also fixes the issue where an error durring the call to #read on the io
object would cause unfinished blobs to be written.
Merge pull request #244 from arthurschreiber/fix-blob-from-io-weirdness

Change Blob#from_io to not silently swallow errors.
use rugged_check_repo everywhere
Merge pull request #245 from nvloff/rugged_check_repo

use rugged_check_repo everywhere
Add a gitattributes file disabling crlf conversion for specific files.
Don't perform crlf conversion on reflogs.
Test against Encoding.default_external.
bump libgit2 to 1cd0ac
Merge pull request #237 from arthurschreiber/windows-fixes

Windows fixes
Add Rugged cross compilation support.
Fat gem support for windows.