librustc: Implement coercion for traits.
Add tests for trait object coercion.