FFI port

I've ported the sqlanywhere gem to use Ruby's FFI (foreign function interface).

This makes it compatible with jRuby.

I've mostly kept the API the same, which is why so little has been changed in the test. The one thing I changed is: previously the c enums expressed their values as numbers, now they express them as tokens.