Trim title of leading/trailing spaces before making filename. Avoids excess hyphens in filename.

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2514 eee81c28-f429-11dd-99c0-75d572ba1ddd