BoilerplatePath uses the boilerplate in code-generator by calculating the relative path to it.
CurrentPackage returns the go package of the current directory, or "" if it cannot be derived from the GOPATH.
PluralExceptionListToMapOrDie converts the list in "Type:PluralType" to map[string]string. This is used for pluralizer. If the format is wrong, this function will panic.