Fix bug where exceptions were silently swallowed with synchronous render. Fixes #678, #1116, #1127, and #1164 Removes deprecated postinstall-build package in favor of npm prepare. Merge of #1172. Fixes #1167. Note: this means that npm@5 or later is required to install nunjucks directly from github.