Restrict zero and one to Number types. Default to floating points. Define new zero and one methods for Rational and Ptr. Update tests.
Merge pull request #6183 from JuliaLang/anj/zeroone

Restrict zero and one to Number types. Default to floating points.