Created lib.feed.php to handle RSS/Atom

TODO: Atom not yet implemented