Switch to new AddXXX methods which use TryAdd

Also clean up RazorPreCompileModule