ENH: Add support for cross generalization for time_gen

@dengemann @agramfort

This is work in progress, I will let you know when to review it.

Thanks!
let me know when you consider it is done so I can have a look.