massive refactoring in the public API

Introduced the CEPEngine abstraction for wrapping up the model manager,
the stream manager and the top-level rule engine. Organized the package
structure of the API. Added a new example working with the new
structure. Made the obsolete elements deprecated.