Bug 1036280 - Newly added links are type=undefined instead of history [r=adw]
Include history type and make link creation the same by removing bgColor/imageURI.