Reorganize helper functions in feeds package

Move things which could be useful for multiple feed-processing steps or
formats into a common.go file where they'll be more easily seen.