learn_all: implement broadcast/flooding on the switch

The learning application now implements broadcast adresses and unknown
destination forwarding (flood) on the switch. Previously, this was
accomplished by sending these packets to the controller.