GROOVY-7134: Add @SelfType annotation for traits
GROOVY-7134: Make sure "this" can be used in the context of a self type
GROOVY-7134: Add documentation for @SelfType
GROOVY-7134: Fix potential NPE and reorder tests for faster execution