Patch Set 10: Looks good to me, but someone else must approve

I think I am pretty happy with this version.  Since its so different from what Matthias offered earlier, I changed the author to myself so blame comes back at me when the inevitable bug gets filed with the project.  :-)

It would be nice if we could automatically disable the libjgit_native module from our build on platforms we don't yet support, but I don't know how to make Maven do that without driving myself insane.  I guess this is room for improvement in another commit.

We now use the platform default encoding for String->char* when making the lstat(2) call.  This is important because the UTF8 function Matthias was using before doesn't actually use valid UTF-8, its the fake Java UTf-8 that gets used when working with DataInputStream, or when symbol names in class files.  Unfortunately its more complicated because we need a utility function to call back into the JVM and invoke String.getBytes(), then copy from the returned byte[] into a char* obtained from malloc.

This is tested on both Mac OS X (10.6) and Linux and seems to work for both 32 bit and 64 bit JVMs on the latter.

Please review and post comments so we can get this change moving forward again.