Added Tests and Fix for Issue #995 Problem with Razor content in attribu...

Altered GetStringValue(AttributeValue value) to correctly handle DynamicDictionaryValue and IHtmlString objects