Refs #2135
    * Fixing select boxes logic/API
    * better design for anonymous user. He can apply the segments that are shared
    * better message in case anonymous tries delete/edit a custom segment
    * Adding ability to set a segment as "PRE-PROCESS" or "PROCESSED ON DEMAND (Real time, default)"
Refs #2135
    * Fixes "The input field for the segment's name disappers on focus loss"
Refs #2135
    * Not forwarding segment parameter to the top menu links

    Note: ideally we should display the Segment Editor on the WIDGET and API pages refs #3934
Merge remote-tracking branch 'origin/master'