Added failing test
Fixed issue with rendering attributes with code in them
Merge pull request #956 from grumpydev/Razor2Fixups

Razor2 fixups