Refactorings, GROOVY-6563 and GROOVY-6622

See https://jira.codehaus.org/browse/GROOVY-6563
https://jira.codehaus.org/browse/GROOVY-6622

Regarding the bold/coloured style, feedback is welcome.
To get to see some example, i suggest hitting completion for these:

    groovy:000> def class Foo extends IntRange { public int a, b, c, d; public String x, y, z; public final static String FOO ='foo'; public Foo(x, y){super(x,y)}; public static void bar(){}}
    ===> true
    groovy:000> f = new Foo(2, 3)
    ===> [2, 3]
    groovy:000> f.

    groovy:000> ['aaa': 1,'bbb': 2].

    groovy:000> 42.

    groovy:000> Integer.

    groovy:000> x.

    groovy:000> String.

The codebase is not getting any prettier with the JANSI information added, and having to use patched JLine code is also not nice. But I think the JLine project is too slow to implement feature requests.