CMS-1578 Live Edit:Context window - implement components view
- refactor filtering code