Prepare SVG export with wx30

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9936 2a5c6006-c6dd-42ca-98ab-0921f2732cef
Applied patch to remove illegal chars from default template name.
When saving a user template, replace each space in title/filename with a underline.