Moved default namespace init code into constructor to avoid threading issues.
Added null or whitespace namespace checks back in.
Merge pull request #1199 from liddellj/razor-fix

Moved default namespace init code into constructor of RazorViewEngine.