[portal] Added the 'topLevelMenu' variable to the layout injector

  * This variable is of type Stream, and contains the application's
    top level menu.
  * For performance reasons, this value may be cached