fix 6387: groovysh completion for maps with 'class' entry

Should now work for instances having class member neither null
nor instanceof Class, as long as getClass() returns a Class instance.

See https://jira.codehaus.org/browse/GROOVY-6387

Signed-off-by: Thibault Kruse <kruset@in.tum.de>
useless function call
more code style, using class member instead of getClass Method
groovy.json.JsonLexerTest requires "unnecessary" Stringconcatenation, so do not apply this rule
Merge pull request #266 from tkruse/fix6387

fix 6387: groovysh completion for maps with 'class' entries
GROOVY-6390: Super constructor calls are not made using direct calls but using MOP
   * introduced InvocationWriter#makeSpecialConstructorCall
   * moved code from AsmClassGenerator to InvocationWriter#makeSpecialConstructorCall
   * specialized version of makeSpecialConstructorCall in @CompileStatic mode