Limit allowed characters in plugin name and description

Update gen_templates.py to limit allowed characters in plugin name and description.

E.g. apostrophes cause plugin loading to fail, see http://stackoverflow.com/questions/17304860/firebreath-plugin-not-loading-in-ie-10