Implements ES5-style callbacks for cursor forEach and map.

Fixes #63.

Based on iwoj's PR.

Needs tests and docs.
Tests for extra forEach/map arguments.
Docs for ES5-style iteration.
History.md update for forEach/map arguments.