Add TEMPLATE_DIRS to settings.

Closes #14.