refactoring

- createView() moved to ViewVarTrait as it's shared between controller
and cell.
- usage of substr+stpos instead of preg_match
- EventManager instance as third argument on Cell's constructor
- Cell::$view -> Cell::$template