Updated style guide

Extracted heading which was accidentally included in a code example
GROOVY-7203: don't force lookup object access and fall back to per invocation error instead
GROOVY-7206: NullPointerException when setting an unknown property in a trait