Generate correct module name for app names with dashes.

Without underscore transformation applied first application generated with name 'your-app' would end up with module name 'Your-app'. With this fix module name will be 'YourApp'.