Add equal function in modules Bytes, Char, Int32, Int64, Nativeint and String

Open by [issue 6494](http://caml.inria.fr/mantis/view.php?id=6494)
I think you've missed type annotations here.