Implement toArray sink (#35)
* Add initial toArray sink implementation
* Add tests for toArray source
* Modify toArray to match subscribe behaviour
* Close non-synchronous sources in toArray
* Add additional toArray test for async sources
* Add docs for toArray sink
* Refactor makeTrampoline and use it for fromArray and fromList
authored by