Better context path normalizing in WebApplicationMetaData, with test this time