moved week_range(), weeknum_pagination(), trend_qtype_device_tabs() to Referer.pm