RoslynCompilationService should set the generated code when compilation succeeds

Fixes #895
Add XML comments.  We should be documenting protected members for users who choose to subclass our stuff.