More refactoring of content tabs -- generic base class.
Moved Amazon special case out of templates.