Provide an alt. implementation of itertools.accumulate for Python < 3.3

Probably way slower than the native one, but there's not much we can do.
Fixes #8. This time with proper line endings.