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!
What do you suggest then? The two approaches (object versus function) are really different in style. Shall we gave them two distinct names and keep your initial code and add a warning?