some enhancements in -template.el, etc.

git-svn-id: http://ansys-mode.googlecode.com/svn/trunk@694 d5a51148-9f23-0410-882a-37b6fa6ce781