NancyFx/Nancy — pull request #685 by alanta (2012-07-30 18:36:48+00:00)
Title: When view name occurs in the path the view cannot be resolved

The view is located correctly but not returned by the DefaultViewLocator because the LocationMatchesView method removes all occurrences of the view name from the path. It should only strip off the file name to verify the view location.
From what I can tell, this will only occur for views resolved from the model name because otherwise the file extension of the view file is included.

### Reproduction:
```c#
public class HelloModule : NancyModule
{
public HelloModule()
{
Get["/"] = parameters => View[ new HelloModel{ Greeting = "Hello World!"}];
}
}

public class HelloModel
{
public string Greeting { get; set; }
}
```
And create a view in *Views/Hello/Hello.sshtml*

### Result:

> Nancy.RequestExecutionException: Oh noes! ---> Nancy.ViewEngines.ViewNotFoundException: Unable to locate view 'Hello'
>Currently available view engine extensions: sshtml,html,htm,cshtml,vbhtml
>Locations inspected: Hello,views/Hello,views//Hello,/Hello,views/Hello/Hello,Hello/Hello,/views/Hello/Hello