Merge pull request #4 from csmith/master

Run gradle in parallel mode.
TextPaneCanvas tidying.

Use new LinePosition method.
Split some of the huge methods up into smaller ones.
Fix some Netbeans-induced wonky line wrapping.
Bit more tidying.
Merge pull request #5 from csmith/textpane

TextPane tidying.
Fix resource leak in logging plugin.
Publish error instead of ignore.
Merge pull request #6 from greboid/logging-resource-leak

Fix resource leak in logging plugin.
Split out a LineRenderer class.

This handles the direct rendering of a line, including highlighting
and wrapping.

Also change how the TextPaneCanvas stores its various properties,
so it's not doing lookups in multiple maps at once.

Issue #10
Merge remote-tracking branch 'origin/master' into textpane
Merge pull request #11 from csmith/textpane

Split out a LineRenderer class.
Split up rendering a bit more.

Make various methods protected so it's possible to extend the
renderer.