Trait support

Thats some more changes:

* add two integration tests: `base` that should be supported by current develop and `trait-support`
* add trait support when the executing php version supports it

Does demonstrate the problem I still ran into and provides the fix for #12.