MEDIUM / MODULES-96 : fix issue with label vertical/horizontal
alignment(right/left;bottom/top were inversed). Change also the
alignment computation: take into account the widht/height of the
container shape so that the label is really at the extreme
top/bottom/right/left side of the parent container.