Adds methods for [] & len into LazyURLPattern
Adds methods for [] & len into LazyURLPattern

The Django 404 page currently depends on being able to call len()
and index LazyURLPattern.  However, the special methods for doing
this (__len__() and __getitem__()) are not forwarded to the object
wrapped by SimpleLazyObject by default.  Thus, methods to foward
these special methods to the wrapped object have been implemented
in LazyURLPattern.

Fixes: bug 1183578
Change-Id: I133e97ed66180fe78cfe1b7fd9c86bac4171a994

doug-fish/horizon,idjaw/horizon,agileblaze/OpenStackTwoFactorAuthentication,blueboxgroup/horizon,icloudrnd/automation_tools,NCI-Cloud/horizon,BiznetGIO/horizon,CiscoSystems/horizon,ging/horizon,froyobin/horizon,takeshineshiro/horizon,openstack/horizon,tuskar/tuskar-ui,django-leonardo/horizon,CiscoSystems/avos,luhanhan/horizon,watonyweng/horizon,liyitest/rr,bac/horizon,Hodorable/0602,JioCloud/horizon,xme1226/horizon,dan1/horizon-x509,liyitest/rr,Daniex/horizon,agileblaze/OpenStackTwoFactorAuthentication,liyitest/rr,redhat-openstack/horizon,dan1/horizon-x509,openstack/horizon,endorphinl/horizon-fork,Metaswitch/horizon,tellesnobrega/horizon,nvoron23/avos,dan1/horizon-proto,NeCTAR-RC/horizon,tsufiev/horizon,nvoron23/avos,rickerc/horizon_audit,doug-fish/horizon,VaneCloud/horizon,citrix-openstack-build/horizon,idjaw/horizon,wolverineav/horizon,philoniare/horizon,takeshineshiro/horizon,mrunge/horizon_lib,takeshineshiro/horizon,NCI-Cloud/horizon,zouyapeng/horizon,django-leonardo/horizon,saydulk/horizon,flochaz/horizon,yanheven/console,redhat-openstack/horizon,bigswitch/horizon,xme1226/horizon,VaneCloud/horizon,VaneCloud/horizon,Solinea/horizon,newrocknj/horizon,davidcusatis/horizon,damien-dg/horizon,RudoCris/horizon,ChameleonCloud/horizon,rickerc/horizon_audit,mrunge/horizon,BiznetGIO/horizon,vladryk/horizon,wangxiangyu/horizon,wolverineav/horizon,ging/horizon,maestro-hybrid-cloud/horizon,kfox1111/horizon,ging/horizon,eayunstack/horizon,coreycb/horizon,ging/horizon,redhat-cip/horizon,VaneCloud/horizon,BiznetGIO/horizon,Hodorable/0602,pranavtendolkr/horizon,yjxtogo/horizon,Mirantis/mos-horizon,Metaswitch/horizon,vladryk/horizon,yeming233/horizon,xme1226/horizon,karthik-suresh/horizon,eayunstack/horizon,watonyweng/horizon,newrocknj/horizon,tanglei528/horizon,CiscoSystems/horizon,kfox1111/horizon,mrunge/horizon_lib,ikargis/horizon_fod,tqtran7/horizon,bac/horizon,redhat-cip/horizon,Daniex/horizon,pranavtendolkr/horizon,dan1/horizon-proto,dan1/horizon-proto,philoniare/horizon,damien-dg/horizon,gochist/horizon,tqtran7/horizon,tsufiev/horizon,pranavtendolkr/horizon,Dark-Hacker/horizon,sandvine/horizon,yanheven/console,yanheven/console,wolverineav/horizon,mandeepdhami/horizon,mdavid/horizon,kaiweifan/horizon,CiscoSystems/horizon,redhat-cip/horizon,aaronorosen/horizon-congress,kaiweifan/horizon,ikargis/horizon_fod,newrocknj/horizon,Mirantis/mos-horizon,openstack-ja/horizon,spring-week-topos/horizon-week,tqtran7/horizon,philoniare/horizon,Dark-Hacker/horizon,rdo-management/tuskar-ui,henaras/horizon,doug-fish/horizon,CiscoSystems/horizon,citrix-openstack-build/horizon,yeming233/horizon,mdavid/horizon,dan1/horizon-x509,kfox1111/horizon,r-icarus/openstack_microserver,flochaz/horizon,anthonydillon/horizon,philoniare/horizon,damien-dg/horizon,yeming233/horizon,django-leonardo/horizon,tuskar/tuskar-ui,nvoron23/avos,orbitfp7/horizon,Daniex/horizon,dan1/horizon-proto,froyobin/horizon,yeming233/horizon,flochaz/horizon,karthik-suresh/horizon,openstack-ja/horizon,blueboxgroup/horizon,FNST-OpenStack/horizon,endorphinl/horizon,Tesora/tesora-horizon,gerrive/horizon,xinwu/horizon,noironetworks/horizon,Solinea/horizon,yjxtogo/horizon,wangxiangyu/horizon,CiscoSystems/avos,bigswitch/horizon,tellesnobrega/horizon,nvoron23/avos,redhat-cip/horizon,Metaswitch/horizon,gochist/horizon,vladryk/horizon,sandvine/horizon,bac/horizon,xinwu/horizon,takeshineshiro/horizon,orbitfp7/horizon,wangxiangyu/horizon,FNST-OpenStack/horizon,zouyapeng/horizon,coreycb/horizon,endorphinl/horizon,pranavtendolkr/horizon,j4/horizon,noironetworks/horizon,zouyapeng/horizon,Dark-Hacker/horizon,saydulk/horizon,promptworks/horizon,kaiweifan/horizon,henaras/horizon,bac/horizon,noironetworks/horizon,agileblaze/OpenStackTwoFactorAuthentication,icloudrnd/automation_tools,RudoCris/horizon,bigswitch/horizon,mrunge/openstack_horizon,endorphinl/horizon,agileblaze/OpenStackTwoFactorAuthentication,gochist/horizon,citrix-openstack-build/horizon,Hodorable/0602,blueboxgroup/horizon,watonyweng/horizon,froyobin/horizon,blueboxgroup/horizon,doug-fish/horizon,redhat-openstack/horizon,karthik-suresh/horizon,saydulk/horizon,CiscoSystems/avos,tellesnobrega/horizon,NeCTAR-RC/horizon,izadorozhna/dashboard_integration_tests,promptworks/horizon,RudoCris/horizon,Metaswitch/horizon,mrunge/openstack_horizon,NCI-Cloud/horizon,gerrive/horizon,sandvine/horizon,maestro-hybrid-cloud/horizon,NCI-Cloud/horizon,mandeepdhami/horizon,luhanhan/horizon,gerrive/horizon,rdo-management/tuskar-ui,gerrive/horizon,liyitest/rr,aaronorosen/horizon-congress,mrunge/openstack_horizon,Mirantis/mos-horizon,watonyweng/horizon,openstack-ja/horizon,tsufiev/horizon,mdavid/horizon,RudoCris/horizon,tuskar/tuskar-ui,JioCloud/horizon,CiscoSystems/avos,anthonydillon/horizon,spring-week-topos/horizon-week,Tesora/tesora-horizon,Hodorable/0602,openstack/horizon,promptworks/horizon,mdavid/horizon,Dark-Hacker/horizon,spring-week-topos/horizon-week,kfox1111/horizon,saydulk/horizon,netscaler/horizon,ChameleonCloud/horizon,luhanhan/horizon,icloudrnd/automation_tools,mrunge/horizon,orbitfp7/horizon,coreycb/horizon,openstack/horizon,henaras/horizon,ChameleonCloud/horizon,eayunstack/horizon,tellesnobrega/horizon,ChameleonCloud/horizon,mandeepdhami/horizon,maestro-hybrid-cloud/horizon,netscaler/horizon,rdo-management/tuskar-ui,flochaz/horizon,redhat-openstack/horizon,coreycb/horizon,xinwu/horizon,tanglei528/horizon,maestro-hybrid-cloud/horizon,bigswitch/horizon,endorphinl/horizon-fork,NeCTAR-RC/horizon,yjxtogo/horizon,luhanhan/horizon,mrunge/horizon_lib,FNST-OpenStack/horizon,wangxiangyu/horizon,Daniex/horizon,r-icarus/openstack_microserver,endorphinl/horizon-fork,mrunge/horizon,j4/horizon,netscaler/horizon,idjaw/horizon,tsufiev/horizon,j4/horizon,wolverineav/horizon,endorphinl/horizon-fork,BiznetGIO/horizon,aaronorosen/horizon-congress,idjaw/horizon,sandvine/horizon,endorphinl/horizon,Solinea/horizon,henaras/horizon,yjxtogo/horizon,django-leonardo/horizon,zouyapeng/horizon,xinwu/horizon,anthonydillon/horizon,izadorozhna/dashboard_integration_tests,promptworks/horizon,davidcusatis/horizon,tqtran7/horizon,mandeepdhami/horizon,anthonydillon/horizon,vladryk/horizon,Tesora/tesora-horizon,Solinea/horizon,rickerc/horizon_audit,tanglei528/horizon,Tesora/tesora-horizon,dan1/horizon-x509,damien-dg/horizon,j4/horizon,ikargis/horizon_fod,davidcusatis/horizon,r-icarus/openstack_microserver,Mirantis/mos-horizon,noironetworks/horizon,icloudrnd/automation_tools,JioCloud/horizon,orbitfp7/horizon,karthik-suresh/horizon,rdo-management/tuskar-ui,newrocknj/horizon,NeCTAR-RC/horizon,davidcusatis/horizon,FNST-OpenStack/horizon