Add dist to .gitignore and remove connect from template-dist task
Only load plugins within tasks that actually use them