app_manager: add an function to register an app instance explicitly

will be used by gre_tunnel

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
app_manager: print some info about event flows for --verbose

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>

BRICK dpset
  PROVIDES EventPortModify TO ['PortSet']
  PROVIDES EventPortAdd TO ['QuantumAdapter', 'PortSet']
  PROVIDES EventDP TO ['QuantumAdapter', 'PortSet']
  PROVIDES EventPortDelete TO ['QuantumAdapter', 'PortSet']
  CONSUMES EventOFPSwitchFeatures
  CONSUMES EventOFPStateChange
  CONSUMES EventOFPPortStatus
BRICK conf_switch
  PROVIDES EventConfSwitchDel TO ['TunnelPortUpdater', 'QuantumAdapter']
  PROVIDES EventConfSwitchSet TO ['TunnelPortUpdater', 'QuantumAdapter']
BRICK network
  PROVIDES EventNetworkDel TO ['PortSet']
  PROVIDES EventNetworkPort TO ['TunnelPortUpdater', 'PortSet']
  PROVIDES EventMacAddress TO ['PortSet']
BRICK TunnelPortUpdater
  CONSUMES EventConfSwitchDel
  CONSUMES EventNetworkPort
  CONSUMES EventConfSwitchSet
	:
	:
	:
	:
app_manager: print event flow for --verbose

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
app_manager: add some assertions and LOG.info

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
controller/handler: allow set_ev_handler without dispatchers

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
tunnel_port_updater: adapt to the new world order after dispatcher removal

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
gre_tunnel: adapt to the new world order after dispatcher removal

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
fix a fatal typo in GRETunnel _CONTEXTS

netowrk -> network

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
fix a fatal typo in network.py

netowrk_id -> network_id

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
fix typos in comments

netowrk -> network

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>