JSON Feed Support

Update of previous pull request to solve merge issues.

Reworked the RSS feed handling to allow JSON output as well, and added a lot of configuration options within the feed section. Also renamed the rss tag to feeds to better represent current reality (the rss tag is still used if the feeds tag is not present for backwards compatibility).