Walmart moved its quarterly dividend payment up a few days so it would fall in 2012, but Costco took tax avoidance to a new level this week.