use TextInfo.ToTitleCase to get the variable name for nancy view engine

example:
   hello.jsx  -> var Hello;
   Hi.jsx     -> var Hi;
   HelloWorld -> var HelloWorld;