Proposal: Add is_default() automatically to types that implement Default and PartialEq

If you make the trait, then you can implement it for any type.

It has been a while since I looked through the orphan rules, but this should be correct

you could implement is_default for Option<T> in the exact same was as Option::is_none