Eliminate DirtiesContext in test

Extract a test helper object to use YamlServletProfileInitializer on Context

Signed-off-by: Rob Gallagher <rgallagher@pivotallabs.com>