Renamed update_word_count to contents_changed

to better reflect the fact that it is a callback event, not a utility
function per se. If that makes any sense.
More work on plugins, only commands and css remain
Added command support for plugins
Added stylesheet stuff to plugins, fixed #25