coerce API names for classesand files to valid Java names

While working with my server folks, I found they had some API names that included the dash character.
It seemed easier for me to make the names Java safe, compared with convincing them to change the server.

---

* Swagger allows names of apis to include characters like '-' Java does not like that
* use same replace strings as used in toVarName