Directly pass functions for single-method interfaces

This allows writing code such as:

    let button = JButton("Click me!")
    button: addActionListener(|event| -> println("Clicked!"))

instead of having to go through a conversion.