fix @test_throws deprecation for remote_clone
fix threading issues

threads were not being properly initialized / cleaned up due to using
the inner api module in the thread handle finalizer.  This change uses
raw ccalls for thread init / teardown.  travis was also changed to build
the release version of the library to reflect how libgit is being built
on my machine