The return of AbstractText class

All of the plugin behaviors is defined in the AbstractText class, like in the old text plugin.

This makes easy to extend the text editor plugin. 

See #26