enable Edit styles menu item only if geoext is set as preview library
Merge pull request #1740 from giohappy/style-edit-link-fix

enable Edit styles menu item only if geoext is set as preview library