Moved traits from rust-modifier

Closes https://github.com/PistonDevelopers/current/issues/21