Bugfix in map and ifilter :

* correct handling of generator expressions in map
* correct initialization of ifilter
* more test cases to cover these cases