[layertree] update insertion point to layer tree when appropriate
[layertree] Preserve the order of layers when adding several layers at once
[TRANSUP] gl by Xan and hu by Zoltan

Signed-off-by: Werner Macho <werner.macho@gmail.com>