refactored rex_article/rex_category
removed rex_category::isAncestor()
refactored rex_media
refactored rex_media_category
added instance pool trait