Introduced XMLAdapter to allow different xml implementations.

Changed lens_converter to use an adapter instead of querying on a DOM directly.
The XMLAdapter uses XPath instead of css selectors.
Browser implementation of XMLAdapter.
Browser based XML adapter is working now.
Several fixes.
Added an options to create shorter ids (without type prefix).
Fix regression: invalid xpath format.
Do not treat paragraphs as composites anymore.