Hygiene: Reduce copy-pasted code.
Initialize funcMap in an init function.
Add a chomp function.

- Mostly useful in pipelines.
Implement `apply`.

- `map` is an alias function.
Merge branch 'edit-after-new' into halostatue

* edit-after-new:
  Trigger an editor after `hugo new`.
Merge branch '404-title-override' into halostatue

* 404-title-override:
  Add configuration option 'Title404'

Conflicts:
	commands/hugo.go
Merge branch 'ref-functions' into halostatue

* ref-functions:
  Documentation for `ref` and `relref`.
  Provide (relative) reference funcs & shortcodes.
Merge branch 'template-functions-apply' into halostatue

* template-functions-apply:
  Implement `apply`.
  Add a chomp function.
  Initialize funcMap in an init function.
  Hygiene: Reduce copy-pasted code.
  Added delimit & sort template functions, tests and docs

Conflicts:
	docs/content/templates/functions.md
	tpl/template.go
Merge pull request #694 from derekperkins/hugo-generator

Adding top level .Hugo variable with Version, CommitID & BuildDate

* derekperkins/hugo-generator:
  Added top level .Hugo variable with version, commit and generator information Added Version, CommitHash and BuildDate to hugolib/hugo.go and used it in build Removed commitHash and buildDate from commands/version.go and used hugolib vars Removed getDateFormat function from commands/version.go