Edit applications model to support scripts even for external apps: - Edit types (maybe); - Support different scripts (or expression) for dashboard and storefront; - Support applying app data to to script/expression;