base/app_manager.py: sort out registering bricks
base/app_manager.py: sort out registering bricks

When registering RyuApps to observers with _EVENTS,
it should applied to @set_ev_cls methods, and dispatchers should be
honored.

Signed-off-by: Isaku Yamahata <4b3abd66323411eeceff090ab3754dd766fc4b25@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <93dac1fe9c4b2a3957982200319981492ad4976e@lab.ntt.co.jp>

osrg/ryu,openvapour/ryu,darjus-amzn/ryu,yamt/ryu,jkoelker/ryu,fkakuma/ryu,haniehrajabi/ryu,StephenKing/ryu,Zouyiran/ryu,fujita/ryu,fkakuma/ryu,openvapour/ryu,diogommartins/ryu,yamada-h/ryu,torufuru/oolhackathon,OpenState-SDN/ryu,hisaharu/ryu,Zouyiran/ryu,lagopus/ryu-lagopus-ext,ynkjm/ryu,unifycore/ryu,TakeshiTseng/ryu,elahejalalpour/ELRyu,gareging/SDN_Framework,yamt/ryu,muzixing/ryu,jalilm/ryu,StephenKing/ryu,o3project/ryu-oe,lagopus/ryu-lagopus-ext,o3project/ryu-oe,torufuru/OFPatchPanel,StephenKing/summerschool-2015-ryu,osrg/ryu,sivaramakrishnansr/ryu,fujita/ryu,Tejas-Subramanya/RYU_MEC,TakeshiTseng/ryu,openvapour/ryu,ysywh/ryu,sivaramakrishnansr/ryu,StephenKing/ryu,zangree/ryu,ysywh/ryu,lzppp/mylearning,takahashiminoru/ryu,yamt/ryu,castroflavio/ryu,zyq001/ryu,alyosha1879/ryu,John-Lin/ryu,Zouyiran/ryu,elahejalalpour/ELRyu,pichuang/ryu,habibiefaried/ryu,haniehrajabi/ryu,TakeshiTseng/ryu,Tesi-Luca-Davide/ryu,diogommartins/ryu,openvapour/ryu,ttsubo/ryu,sivaramakrishnansr/ryu,Tejas-Subramanya/RYU_MEC,yamada-h/ryu,OpenState-SDN/ryu,evanscottgray/ryu,hisaharu/ryu,muzixing/ryu,osrg/ryu,umkcdcrg01/ryu_openflow,yamt/ryu,ynkjm/ryu,TakeshiTseng/ryu,jalilm/ryu,elahejalalpour/ELRyu,haniehrajabi/ryu,torufuru/oolhackathon,samrussell/ryu,sivaramakrishnansr/ryu,haniehrajabi/ryu,zangree/ryu,habibiefaried/ryu,shinpeimuraoka/ryu,elahejalalpour/ELRyu,StephenKing/ryu,darjus-amzn/ryu,John-Lin/ryu,ntts-clo/mld-ryu,Tesi-Luca-Davide/ryu,Zouyiran/ryu,Tejas-Subramanya/RYU_MEC,lagopus/ryu-lagopus-ext,evanscottgray/ryu,pichuang/ryu,OpenState-SDN/ryu,shinpeimuraoka/ryu,zyq001/ryu,muzixing/ryu,openvapour/ryu,fkakuma/ryu,lzppp/mylearning,lsqtongxin/ryu,takahashiminoru/ryu,darjus-amzn/ryu,takahashiminoru/ryu,alanquillin/ryu,torufuru/OFPatchPanel,OpenState-SDN/ryu,jazzmes/ryu,lzppp/mylearning,zyq001/ryu,umkcdcrg01/ryu_openflow,habibiefaried/ryu,lagopus/ryu-lagopus-ext,habibiefaried/ryu,unifycore/ryu,diogommartins/ryu,fujita/ryu,zyq001/ryu,iwaseyusuke/ryu,takahashiminoru/ryu,ttsubo/ryu,alyosha1879/ryu,ttsubo/ryu,elahejalalpour/ELRyu,citrix-openstack/build-ryu,haniehrajabi/ryu,lsqtongxin/ryu,ynkjm/ryu,StephenKing/summerschool-2015-ryu,fkakuma/ryu,StephenKing/summerschool-2015-ryu,mikhaelharswanto/ryu,samrussell/ryu,gopchandani/ryu,takahashiminoru/ryu,hisaharu/ryu,John-Lin/ryu,ysywh/ryu,jalilm/ryu,zyq001/ryu,shinpeimuraoka/ryu,iwaseyusuke/ryu,sivaramakrishnansr/ryu,ysywh/ryu,yamt/ryu,jazzmes/ryu,shinpeimuraoka/ryu,hisaharu/ryu,Tejas-Subramanya/RYU_MEC,OpenState-SDN/ryu,iwaseyusuke/ryu,alanquillin/ryu,John-Lin/ryu,hisaharu/ryu,shinpeimuraoka/ryu,castroflavio/ryu,fkakuma/ryu,lagopus/ryu-lagopus-ext,gopchandani/ryu,alanquillin/ryu,citrix-openstack-build/ryu,citrix-openstack-build/ryu,StephenKing/summerschool-2015-ryu,osrg/ryu,ynkjm/ryu,gareging/SDN_Framework,pichuang/ryu,alanquillin/ryu,zangree/ryu,ntts-clo/ryu,darjus-amzn/ryu,darjus-amzn/ryu,jalilm/ryu,ysywh/ryu,pichuang/ryu,Tesi-Luca-Davide/ryu,lsqtongxin/ryu,umkcdcrg01/ryu_openflow,lsqtongxin/ryu,ntts-clo/ryu,StephenKing/summerschool-2015-ryu,gopchandani/ryu,ttsubo/ryu,jazzmes/ryu,ntts-clo/mld-ryu,citrix-openstack/build-ryu,lzppp/mylearning,diogommartins/ryu,gareging/SDN_Framework,zangree/ryu,muzixing/ryu,gopchandani/ryu,evanscottgray/ryu,fujita/ryu,gareging/SDN_Framework,Tesi-Luca-Davide/ryu,iwaseyusuke/ryu,Tesi-Luca-Davide/ryu,umkcdcrg01/ryu_openflow,muzixing/ryu,osrg/ryu,TakeshiTseng/ryu,habibiefaried/ryu,mikhaelharswanto/ryu,pichuang/ryu,lzppp/mylearning,castroflavio/ryu,lsqtongxin/ryu,StephenKing/ryu,zangree/ryu,Tejas-Subramanya/RYU_MEC,iwaseyusuke/ryu,jkoelker/ryu,jkoelker/ryu,gopchandani/ryu,ynkjm/ryu,gareging/SDN_Framework,jalilm/ryu,umkcdcrg01/ryu_openflow,Zouyiran/ryu,alyosha1879/ryu,John-Lin/ryu,ttsubo/ryu,diogommartins/ryu,alanquillin/ryu,fujita/ryu,alyosha1879/ryu,torufuru/oolhackathon