Added PublicResXFileCodeGenerator custom tool

The PublicResXFileCodeGenerator produces code that is marked public
instead of internal.

Moved the file generation code out to a static method so that it can be
shared by both custom tools.
Merge pull request #503 from Sl0vi/publicresxfilecodegenerator

Add PublicResxFileCodeGenerator