Add horizon.cookies.getRaw to access raw cookie values
Add horizon.cookies.getRaw to access raw cookie values

Since porting to ngCookie's $cookieStore, horizon.cookies supports
values of type object. In order to implement this, all values are
stored in their JSON representations. This however removes the ability
to read values set by the backend, since horizon.cookies.get attempts
to deserialize the cookie value assuming it is stored in JSON.

This change implements an additional utility method to access raw
cookie values instead of modifying horizon.get to be more adaptive
to non-JSON values, because that would mean the statement
horizon.put('keyBackend', horizon.get('keyBackend')) yields unequal
before and after values when accessing cookies set by the backend.
Moreover, horizon.cookies.getRaw helps developers to be more mindful
of accessing cookie values set outside of the Horizon frontend.

Change-Id: I21cd641b5495f57492a210ce88228f3e8783b86f
Closes-Bug: #1358911

bac/horizon,VaneCloud/horizon,Solinea/horizon,sandvine/horizon,Daniex/horizon,RudoCris/horizon,liyitest/rr,yeming233/horizon,kfox1111/horizon,yjxtogo/horizon,j4/horizon,promptworks/horizon,Dark-Hacker/horizon,VaneCloud/horizon,dan1/horizon-x509,Dark-Hacker/horizon,tellesnobrega/horizon,luhanhan/horizon,luhanhan/horizon,NCI-Cloud/horizon,CiscoSystems/horizon,blueboxgroup/horizon,bigswitch/horizon,openstack/horizon,Dark-Hacker/horizon,tellesnobrega/horizon,noironetworks/horizon,agileblaze/OpenStackTwoFactorAuthentication,Hodorable/0602,Daniex/horizon,ChameleonCloud/horizon,tqtran7/horizon,karthik-suresh/horizon,gerrive/horizon,mandeepdhami/horizon,endorphinl/horizon,openstack/horizon,eayunstack/horizon,endorphinl/horizon,noironetworks/horizon,davidcusatis/horizon,Mirantis/mos-horizon,xinwu/horizon,django-leonardo/horizon,wolverineav/horizon,idjaw/horizon,henaras/horizon,anthonydillon/horizon,doug-fish/horizon,wolverineav/horizon,newrocknj/horizon,openstack/horizon,agileblaze/OpenStackTwoFactorAuthentication,pranavtendolkr/horizon,orbitfp7/horizon,henaras/horizon,xinwu/horizon,pranavtendolkr/horizon,bigswitch/horizon,kfox1111/horizon,vladryk/horizon,redhat-openstack/horizon,redhat-cip/horizon,NCI-Cloud/horizon,Mirantis/mos-horizon,watonyweng/horizon,bac/horizon,mandeepdhami/horizon,dan1/horizon-proto,anthonydillon/horizon,FNST-OpenStack/horizon,mdavid/horizon,davidcusatis/horizon,promptworks/horizon,blueboxgroup/horizon,orbitfp7/horizon,VaneCloud/horizon,xinwu/horizon,mdavid/horizon,maestro-hybrid-cloud/horizon,maestro-hybrid-cloud/horizon,icloudrnd/automation_tools,mdavid/horizon,doug-fish/horizon,tellesnobrega/horizon,damien-dg/horizon,endorphinl/horizon,CiscoSystems/horizon,wangxiangyu/horizon,Solinea/horizon,CiscoSystems/horizon,noironetworks/horizon,saydulk/horizon,takeshineshiro/horizon,newrocknj/horizon,Tesora/tesora-horizon,endorphinl/horizon-fork,Tesora/tesora-horizon,Hodorable/0602,noironetworks/horizon,NeCTAR-RC/horizon,mandeepdhami/horizon,damien-dg/horizon,watonyweng/horizon,yjxtogo/horizon,philoniare/horizon,sandvine/horizon,RudoCris/horizon,philoniare/horizon,coreycb/horizon,icloudrnd/automation_tools,eayunstack/horizon,coreycb/horizon,gerrive/horizon,dan1/horizon-proto,karthik-suresh/horizon,agileblaze/OpenStackTwoFactorAuthentication,Mirantis/mos-horizon,dan1/horizon-x509,Daniex/horizon,BiznetGIO/horizon,dan1/horizon-proto,liyitest/rr,NeCTAR-RC/horizon,damien-dg/horizon,damien-dg/horizon,watonyweng/horizon,django-leonardo/horizon,NCI-Cloud/horizon,coreycb/horizon,takeshineshiro/horizon,anthonydillon/horizon,dan1/horizon-proto,izadorozhna/dashboard_integration_tests,j4/horizon,wolverineav/horizon,endorphinl/horizon-fork,django-leonardo/horizon,Metaswitch/horizon,icloudrnd/automation_tools,Dark-Hacker/horizon,RudoCris/horizon,VaneCloud/horizon,bac/horizon,blueboxgroup/horizon,saydulk/horizon,icloudrnd/automation_tools,redhat-openstack/horizon,Solinea/horizon,redhat-openstack/horizon,Metaswitch/horizon,Mirantis/mos-horizon,RudoCris/horizon,agileblaze/OpenStackTwoFactorAuthentication,redhat-cip/horizon,saydulk/horizon,wangxiangyu/horizon,luhanhan/horizon,Tesora/tesora-horizon,j4/horizon,wangxiangyu/horizon,redhat-openstack/horizon,anthonydillon/horizon,watonyweng/horizon,eayunstack/horizon,doug-fish/horizon,pranavtendolkr/horizon,karthik-suresh/horizon,dan1/horizon-x509,mandeepdhami/horizon,redhat-cip/horizon,coreycb/horizon,bac/horizon,idjaw/horizon,idjaw/horizon,FNST-OpenStack/horizon,promptworks/horizon,liyitest/rr,tsufiev/horizon,tsufiev/horizon,yeming233/horizon,openstack/horizon,wangxiangyu/horizon,takeshineshiro/horizon,luhanhan/horizon,ChameleonCloud/horizon,promptworks/horizon,vladryk/horizon,Hodorable/0602,newrocknj/horizon,idjaw/horizon,orbitfp7/horizon,NeCTAR-RC/horizon,doug-fish/horizon,NCI-Cloud/horizon,izadorozhna/dashboard_integration_tests,kfox1111/horizon,gerrive/horizon,yeming233/horizon,Tesora/tesora-horizon,endorphinl/horizon-fork,tqtran7/horizon,newrocknj/horizon,maestro-hybrid-cloud/horizon,CiscoSystems/horizon,NeCTAR-RC/horizon,Daniex/horizon,endorphinl/horizon-fork,Metaswitch/horizon,tsufiev/horizon,Metaswitch/horizon,tqtran7/horizon,takeshineshiro/horizon,Hodorable/0602,dan1/horizon-x509,mdavid/horizon,ChameleonCloud/horizon,karthik-suresh/horizon,django-leonardo/horizon,bigswitch/horizon,orbitfp7/horizon,maestro-hybrid-cloud/horizon,endorphinl/horizon,yeming233/horizon,davidcusatis/horizon,davidcusatis/horizon,ChameleonCloud/horizon,xinwu/horizon,FNST-OpenStack/horizon,henaras/horizon,blueboxgroup/horizon,BiznetGIO/horizon,j4/horizon,kfox1111/horizon,yjxtogo/horizon,Solinea/horizon,gerrive/horizon,tellesnobrega/horizon,tqtran7/horizon,redhat-cip/horizon,bigswitch/horizon,pranavtendolkr/horizon,BiznetGIO/horizon,philoniare/horizon,philoniare/horizon,BiznetGIO/horizon,yjxtogo/horizon,henaras/horizon,sandvine/horizon,saydulk/horizon,FNST-OpenStack/horizon,vladryk/horizon,liyitest/rr,wolverineav/horizon,tsufiev/horizon,vladryk/horizon,sandvine/horizon