Refactor and split code

Fix bug with called api method
Fix bug with group order
Remove groupToUpdate of _updateAttributeSetsAndGroups
Split importAttributeSet in attribute sets and attribute associations
Rename method with "Magento"
Revert some cs and php doc