Add IE8 support to nunjucks (rebased)

This is a rebase of #75.

In general, the fixes amount to dealing with IE8's lack of `Array.indexOf()`, `Object.create()`, `Date.now()`, and string indexing via array notation.