Implement FunctionType::invoke()
See https://github.com/xp-framework/rfc/issues/286#issuecomment-52311833