Bug 1064397 - Fix handling of absolute icon urls in CardsHelper. r=etienne

Redux, this time with passing tests.