ENYO-3842: finalize code "re-layout" and minification issue

Related JIRA: https://enyojs.atlassian.net/browse/ENYO-3842

Merging ide and preview code, resources to create only one context solves the minification issues and resources retrieving within the ares code.

Enyo-DCO-1.1-Signed-off-by: Vincent HERILIER vincent.herilier@hp.com