aheatmap: fix multiple spacing issues in layout and factorize part of the code
aheatmap:
  * fix multiple spacing issues in layout
  * factroise part of the code
  * enable changing scale legend orientation
  * changed the way layouts are composed: now use '*'