Update example to work under Orion 8.0

* The content assist 'prefix' is not removed automatically by the engine anymore,
  so we must chop it off ourself.
* Also 'selection.offset' is undefined, use the 'offset' parameter instead