The first is easy; the green phase tails off into a switch, also like fig 2, so that once it fires, it keeps firing until switched off. This cell should not keep on starting the next [amber] phase, so the amber phase should have as its top cell one with threshold 2, rather than one, so that it starts only when it also receives another signal [from the input button, essentially]; either this other signal or the top cell of the amber phase should then switch off the green phase and the green light.
The second is now also easy. Have another switch to indicate that the halt button has been fired; that is, the input fibre is a `switch on' fibre for the halt switch. This switch will be tapped off for a switch on for the amber phase; as noted above, this will be ineffective until the green switch also fires. The halt switch should eventually be switched off. If you do this from the end of the steady green man, then pressing the halt button is ignored if you do it while the crossing is already in your favour, but the pressing is stored if you do it at or after the start of the flashing. It is then ignored until the green switch is activated, which is exactly the desired behaviour.
Everything else is now routine. One thing to watch out for: make sure that the start of the amber phase kills everything else in sight, otherwise it is easy to get the amber phase started twice on successive ticks, which is not good [though it doesn't really matter if things get switched on and off twice except for the flasher unit]. Real Pelican crossings [and other traffic lights, etc.] are more like this than you might suppose!