cleanup: moved stuff out of FileBuffer class

1. Created utils.rb for extending base classes.
2. Made TextBuffer a subclass of Array.

	modified:   src/bufferhistory.rb
	modified:   src/filebuffer.rb
	modified:   src/jedi.rb
	new file:   src/utils.rb
bugfix: handle long words in justify/linewrap

Weird things would happend if a word was longer than the wrap-length.

	modified:   src/filebuffer.rb
cleanup: bunch of simplifications and reorg

1. copy/paste
2. search/replace
3. minor other stuff
4. moved jedi to run_jedi in root dir
bugfix: make syntax color rules accessible from outside syntax colors class

This way, we can set things from the config script.

	modified:   src/syntaxcolors.rb
	modified:   scripts/config.rb
added java comment patterns to syntaxcolors

	modified:   src/editor.rb
	modified:   src/syntaxcolors.rb
bugfix: use index instead of match, to avoid regexp weirdness

	modified:   src/syntaxcolors.rb
bugfix: update indentation on save

was only doing it on read

	modified:   src/filebuffer.rb