Add Java 8 lambda-friendly factory method to EventSource