Added allowed dash in classname for classmap, particular for XHP classes

Also see https://github.com/composer/composer/pull/2912 & https://github.com/composer/composer/issues/2968