Partial sync of jsonutils from openstack-common
Partial sync of jsonutils from openstack-common

This makes horizon work with recent versions of anyjson. Note that
there's another jsonutils change in openstack-common, but it requires
timeutils (which adds a dependency on the iso8601 module), so I skipped
it for now.

Changes from openstack-common:

    commit 4c9d439ef24f5afdd74aa9153aa8fc772051e6cb
    Author: Tim Daly Jr <timjr@yahoo-inc.com>
    Date:   Tue Jun 26 02:48:42 2012 +0000

        Add 'filedecoder' method to the jsonutils wrapper module.

        Fixes bug #1017765

        After version 3.3.2, the anyjson library will throw a KeyError if
        filedecoder isn't present.  The filedecoder is just like the decoder
        except it takes a file instead of a string, like json.load() instead
        of json.loads().

        Change-Id: I7bd012a7b4afa9b1ec987c3e6393cc922b5dadff

Change-Id: I912116d56e4e31ae93042929775c8d03dc4fa59e

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