Port tests from Katana.

Note that the names for embedded resources have change significantly from .NET 4.5.  Previously, any resource embedded in your project ended up with a namespace name (e.g. `My.Assembly\SubDir\file.txt` would become `My.Assembly.SubDir.file.txt`). Now resources are named using their directory paths (e.g. `SubDir\file.txt` becomes `SubDir/file.txt`