Update accumulate

Continues https://github.com/mrocklin/toolz/pull/11
See also https://github.com/mrocklin/toolz/issues/10

Merging soon if no comment.