Use Ext.create instead of new for Ext classes
Merge pull request #219 from sweco-sebhar/treeLegendExtCreate

Use Ext.create instead of new for Ext classes