Add tests.
librustc: Add NonZero lang item and use it if possible for nullable pointer enum opt.
libcore: Add NonZero lang item and implement some methods.
libcollections: Use NonZero in Vec.
liballoc: Use NonZero in Rc.
liballoc: Use NonZero in Arc.
libcore: Make it unsafe to create NonZero and impl Deref.