Refactored most demo tests to scan for events,

using the new DataContractContentSerializer.CreateTypeResolver feature.
Pulled out resolver to a variable,

in order to make it more useful for a documentation example.
Pulled resolver out into a separate variable,

in order to provide a good example for documentation purposes.