Add example for entity_resolver

I couldn't find an example anywhere that detailed using the "resolvers" array.

Without it, you get an error  'The option "<class>" does not have a matching set<class> setter method which must be defined' error.

I gleened the answer from the tests for the EntityResolverFactory class. Apologies if this is documented somewhere else and I missed it.