Add lint for unnecessary casts
Remove some unnecessary type casts

Conflicts:
	src/librustc/middle/lint.rs