Hg wrap inlines

This change the functionality to wrap inline elements that can be wrapped. The list is not conclusive at the moment but ti's easy to add to them. Wrapping inline elements means we can merge them with non-inline etc. and will make extending off the end of the node much simpler