Added dir variable to the rest of the template.go package, added a bool to override ParseFile if desired, added initializer for template FuncMap