Allow views to be specified as ~/Views/MyView.cshtml in the Configuration so it can be used with both standalone hosting or Asp.Net hosting with views embedded in the assembly
Only replace ~ at the start of a view definition path if it is at the start