Designer refactoring

1. Removed designer-extensions.js. Its logic is inside simple-designer.js.
1. Fixed content selector to do server-side filtering.
1. Refactored more logic to correctly apply the promises pattern.