Ticket/11481 Move feed classes from feed.php to files

Also:
* replaced the functions with a helper class
* replaced globals with dependency injection
* declared classes as abstract where applicable

http://tracker.phpbb.com/browse/PHPBB3-11481