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
Merge pull request #1 from mamacdon/orion_8

Update example to work under Orion 8.0