Use keyboard's basicLayoutKey if it is defined. r=lchang

When keyboard defined basicLayoutKey, it should be used in alternateLayout and symbolLayout.