Fixed issue with resolving paths using e.g Html.BeginForm. Fixes #138