Media manager is now a separate package; several fixes and improvements; added a LegacyModel to allow media methods to continue working in PHP 5.3 (without traits); code clean-up