leave traits implemented as classes.

It prevents that files that require/use them break.
add phpunit to composer file