Refactor rendering interface

Now there is a interface Renderer which is implemented by a XTerm256
renderer. This makes it easy to add i.e. a 24bit renderer for konsole.
Also 16 or 2 colors should be possible then.