Added support for user home dir shortcut `~` in templates path

Added support for using `~` in templates path in settings (issue #35)