fixed XPTgetAllTemplates()

when &filetype == '', the key doesn't exist.
Merge branch 'master' of github.com:grassofhust/xptemplate