Lots of work on W3C, incl a FSM-based parser (more test and work needed). Added new as_plaintext method to elements.AbstractElement