[RFC] support for generators

I'm not even sure if this couldn't be applied to Iterators in general, or if it's the correct approach, but at least it resolves parts of the problem of phpspec/phpspec#379.

Also, custom phpspec matchers have to be used in order to check array like stuff.
This spec needs to be skipped on PHP 5.4 and older (as there is no generator there)