Added eltype for intervals
newton and newton_refine are parameterized, and the tolerance is set to eps(one(T))

`newton` and `newton_refine` are now parameterized in terms of the type
of interval, which is used to set the default tolerance to one(T).