Added razor precompilation tests.
Minor razor fixes related to the added unit tests.
Modified in-memory file system behavior to match real file system behaviour more closely, allowing for more code coverage in unit tests.