add Eq instance to Node and Document. remove unsafe in foreign import.
add benchmark ghc-options. remove traverse ffi.