[MRG] Supporting non array subclasses

The support (and test) for y being not an array subclass is implemented, but I still need to work on X.
> Is there some doc about it?

I mean about ``__array__``