........S. [ZBXNEXT-2519] added mediatype create/delete/update methods, refactoring