Check for toJson() in option if Handler or AsyncResultHandler

Check that `toJson()` method is in Options if used in `Handler<>` or `Handler<AsyncResult<>>`

https://github.com/vert-x3/vertx-codegen/issues/16


Duplicate interface with a slightly different name?