- autotools: Fix make dist on linux

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@10002 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.