Fix sampledBy with stream of functions

The problem is `Bacon.constant(function() { return 10; }).sampledBy(Bacon.once(1)).log()` logs 10 while `Bacon.constant(function() { return 10; }).log()` logs function.