call_ffi, travis, etc

Some fixes for call_ffi, a travis config file for automated testing.