Using Groovy's class cast operator (as) can lead to CNFEs with multiple classloaders. Better wrap the real Asciidoctor instance than attempting to cast it to a proxy class. Fixes #90