replace disallowed characters '@' and '-' in method names

I had some issues with the generated .h and .m files as the method names contained @ and - which are illegal in method names. So these characters are now replaced when generating files.

I guess it would make sense to generalize the replacement of characters not allowed in method names. Maybe some NSCharacter​Set love?