Jsonformat

1. Refactoring RazorHtmlMediaTypeFormatter to generic RazorMediaTypeFormatter.
2. Adding json template.
3. Updating configuration to use the new template.