Fixed bug in the accumulate function
add test for accumulate on iterator

Provided by @jcrichton
separate accumulate on iterable test
Merge branch 'master' into update_accumulate

Conflicts:
	toolz/itertoolz/tests/test_core.py
Merge pull request #87 from mrocklin/update_accumulate

Update accumulate