Adds WriteAttributeTo method for razor helpers

The following was throwing an exception that WriteAttributeTo did not exist

```csharp
@helper test(string className)
{
    <p class="@className"></p>
}
```

The `WriteAttributeTo` method was missing from the `NancyRazorViewBase`

Fixes #1010