Add config setting to examples.

It's best to be explicit in examples about where bits of code go. If someone
comes to the docs from a Google search for example, it's important to be
explicit about the config going inside a `grails.cache.config` setting. So
I've updated the examples to include that setting.