Core

Port to using Jane Street's Core as the standard library. Also use `sexp` and `compare` for most types.