Allow custom comparer function in `object/equals` and `object/deepEquals`

See #65. This adds an option for specifying the comparer function in `object/equals` and `object/deepEquals`.

This also allows it to use `equals` in the `deepEquals` function, using a custom comparer function that recursively compares objects.