Add buffer-local templates
Better default value for `auto-insert-directory'
Update yasnippet integration