howling mad ui refactoring

refactored editing api to use boundaries
created formatting module that exposes format() and style() methods
fixed tests
added documentation
nope, these classes come from the classList attribute of the DOM element - therefore they are already trimmed.