Add TreeDefinition.Add(string, TreeEntry)
Add rewrite test that injects existing TreeEntry
Fix building with Mono on OS X
Fix broken tests on OS X