coerce API names of class and file valid Java names

* Swagger allows names of apis to include characters like '-' Java does not like that
* use same replace strings as used in toVarName
Merge pull request #201 from xoom/issue/JavaSafeApiName

coerce API names for classesand files to valid Java names