Genericize watchAndGetResource()
Genericize watchAndGetResource()

Parts of common.go will eventually be split out into separate files
that plugins can opt to use or not, so watchAndGetResource() shouldn't
have any specific knowledge of the resources themselves.

marun/origin,dobbymoodge/origin,mdshuai/openshift-sdn,sjug/origin,tnozicka/origin,chmouel/origin,deads2k/origin,tiwillia/origin,mrogers950/origin,tnozicka/origin,linearregression/origin,dobbymoodge/origin,rrati/origin,hroyrh/origin,php-coder/origin,php-coder/origin,inlandsee/origin,coreydaley/origin,kargakis/origin,arilivigni/origin,wjiangjay/origin,ravisantoshgudimetla/origin,wjiangjay/origin,ramr/origin,dmage/origin,dmage/origin,luciddreamz/origin,sspeiche/origin,jim-minter/origin,openshift/origin,mdshuai/origin,ramr/origin,hroyrh/origin,jupierce/origin,gabemontero/origin,kargakis/origin,maxamillion/origin,rajatchopra/origin,jprukner/origin,abutcher/origin,danmcp/origin,PI-Victor/origin,jeffvance/origin,chlunde/origin,jprukner/origin,markllama/origin,liangxia/origin,jupierce/origin,maleck13/origin,imcsk8/origin,chlunde/origin,simo5/origin,PI-Victor/origin,anpingli/origin,ingvagabund/origin,elyscape/origin,JacobTanenbaum/origin,willmtemple/origin,danwinship/origin,abutcher/origin,akram/origin,abutcher/origin,thrasher-redhat/origin,mrogers950/origin,JacobTanenbaum/origin,sspeiche/origin,jwhonce/origin,ryanj/origin,sferich888/origin,danmcp/origin,imcsk8/origin,tnozicka/origin,csrwng/origin,dinhxuanvu/origin,rajatchopra/origin,kargakis/origin,jeremyeder/origin,goern/origin,rajatchopra/origin,jeffvance/origin,jprukner/origin,juanvallejo/origin,mdshuai/origin,liggitt/openshift-sdn,sallyom/origin,anpingli/origin,enj/origin,Miciah/origin,rhamilto/origin,pravisankar/origin,jprukner/origin,dmage/origin,nak3/origin,ncdc/origin,coreydaley/origin,louyihua/origin,adelton/origin,hferentschik/origin,sg00dwin/origin,robertol/origin,kargakis/origin,miminar/origin,matthyx/origin,rhamilto/origin,soltysh/origin,dinhxuanvu/origin,raffaelespazzoli/origin,liggitt/origin,pmorie/origin,aveshagarwal/origin,dcbw/openshift-sdn,pravisankar/origin,markllama/origin,deads2k/origin,dgoodwin/origin,childsb/origin,jsafrane/origin,ramr/origin,tiwillia/origin,smarterclayton/origin,mrogers950/origin,tnozicka/origin,bparees/origin,knobunc/origin,rhuss/origin,rrati/origin,spadgett/origin,liangxia/origin,jwhonce/origin,simo5/origin,jim-minter/origin,soltysh/origin,liangxia/origin,pweil-/origin,ravisantoshgudimetla/origin,luciddreamz/origin,willmtemple/origin,jpeeler/origin,rootfs/origin,rootfs/origin,liggitt/origin,rrati/origin,eparis/origin,legionus/origin,adelton/origin,wanghaoran1988/origin,zhaosijun/origin,matthyx/origin,maleck13/origin,mdshuai/origin,goern/origin,rhcarvalho/origin,miminar/origin,mrogers950/origin,danwinship/openshift-sdn,danwinship/origin,legionus/origin,ironcladlou/origin,nak3/openshift-sdn,nak3/origin,enj/origin,gashcrumb/origin,danwinship/openshift-sdn,robertol/origin,spadgett/origin,dgoodwin/origin,juanvallejo/origin,PI-Victor/origin,elyscape/origin,mdshuai/origin,rhcarvalho/origin,aveshagarwal/origin,hferentschik/origin,danmcp/origin,xiuwang/origin,csrwng/origin,zhaosijun/origin,louyihua/origin,jeremyeder/origin,ironcladlou/origin,mfojtik/origin,tracyrankin/origin,wjiangjay/origin,chmouel/origin,openshift/openshift-sdn,aveshagarwal/origin,ravisantoshgudimetla/origin,dcbw/origin,childsb/origin,robertol/origin,dcbw/origin,sdminonne/origin,tagoh/origin,liggitt/origin,tdawson/origin,markllama/origin,gabemontero/origin,inlandsee/origin,tracyrankin/origin,pravisankar/origin,pmorie/origin,juanvallejo/origin,rhamilto/origin,kargakis/origin,robertol/origin,thrasher-redhat/origin,dcbw/origin,elyscape/origin,PI-Victor/origin,wjiangjay/origin,aveshagarwal/origin,sdminonne/origin,maxamillion/origin,ryanj/origin,ingvagabund/origin,jim-minter/origin,tagoh/origin,tnozicka/origin,wanghaoran1988/origin,PI-Victor/origin,php-coder/origin,xiuwang/origin,mahak/origin,ramr/origin,rajatchopra/origin,mahak/origin,wjiangjay/origin,goern/origin,xiuwang/origin,arilivigni/origin,jpeeler/origin,mkumatag/origin,robertol/origin,imcsk8/origin,bparees/origin,mkumatag/origin,nhr/origin,ingvagabund/origin,danwinship/origin,anpingli/origin,pmorie/origin,linzhaoming/origin,juanvallejo/origin,sspeiche/origin,imcsk8/origin,louyihua/origin,linzhaoming/origin,nhr/origin,imcsk8/origin,thrasher-redhat/origin,adelton/origin,eparis/origin,mkumatag/origin,zhaosijun/origin,inlandsee/origin,maxamillion/origin,rhamilto/origin,hferentschik/origin,dgoodwin/origin,soltysh/origin,smarterclayton/origin,mrogers950/origin,spadgett/origin,sjug/origin,sg00dwin/origin,dmage/origin,linzhaoming/origin,gashcrumb/origin,ryanj/origin,mdshuai/origin,matthyx/origin,tagoh/origin,jsafrane/origin,knobunc/origin,linearregression/origin,dinhxuanvu/origin,jprukner/origin,php-coder/origin,ramr/origin,maleck13/origin,liangxia/origin,arilivigni/origin,php-coder/origin,juanvallejo/origin,chmouel/origin,Miciah/origin,raffaelespazzoli/origin,linearregression/origin,ryanj/origin,eparis/origin,stevekuznetsov/origin,dgoodwin/origin,pmorie/origin,matthyx/origin,linearregression/origin,dobbymoodge/origin,sg00dwin/origin,tdawson/origin,rajatchopra/origin,jeremyeder/origin,miminar/origin,hferentschik/origin,tagoh/origin,jupierce/origin,tiwillia/origin,jpeeler/origin,sferich888/origin,matthyx/origin,pmorie/origin,nhr/origin,markllama/origin,danwinship/origin,jupierce/origin,jpeeler/origin,pecameron/origin,jeremyeder/origin,knobunc/origin,knobunc/origin,nhr/origin,bparees/origin,dobbymoodge/origin,inlandsee/origin,maleck13/origin,liangxia/origin,gabemontero/origin,hferentschik/origin,hferentschik/origin,rrati/origin,openshift/origin,rhuss/origin,mrogers950/origin,rhamilto/origin,Miciah/origin,akram/origin,luciddreamz/origin,jwhonce/origin,ryanj/origin,childsb/origin,maxamillion/origin,rhuss/origin,marun/origin,openshift/origin,danwinship/origin,raffaelespazzoli/origin,gashcrumb/origin,pecameron/origin,tracyrankin/origin,rootfs/origin,sallyom/origin,miminar/origin,pweil-/origin,liggitt/origin,stevekuznetsov/origin,danmcp/origin,jwhonce/origin,mfojtik/origin,gashcrumb/origin,legionus/origin,arilivigni/origin,simo5/origin,kargakis/origin,zhaosijun/origin,liangxia/origin,louyihua/origin,childsb/origin,hroyrh/origin,stevekuznetsov/origin,tiwillia/origin,deads2k/origin,wanghaoran1988/origin,stevekuznetsov/origin,danwinship/origin,willmtemple/origin,rhcarvalho/origin,pravisankar/origin,detiber/origin,juanvallejo/origin,linzhaoming/origin,wanghaoran1988/origin,rrati/origin,smarterclayton/origin,simo5/origin,dcbw/origin,ryanj/origin,dgoodwin/origin,dobbymoodge/origin,maxamillion/origin,tdawson/origin,liggitt/openshift-sdn,linzhaoming/origin,smarterclayton/origin,tdawson/origin,wanghaoran1988/origin,simo5/origin,eparis/origin,spadgett/origin,php-coder/origin,imcsk8/origin,nak3/openshift-sdn,rhuss/origin,sspeiche/origin,childsb/origin,legionus/origin,abutcher/origin,ravisantoshgudimetla/origin,mdshuai/openshift-sdn,sferich888/origin,enj/origin,liggitt/origin,sdminonne/origin,pecameron/origin,marun/origin,louyihua/origin,mfojtik/origin,ncdc/origin,detiber/origin,dinhxuanvu/origin,ironcladlou/origin,luciddreamz/origin,detiber/origin,raffaelespazzoli/origin,ravisantoshgudimetla/origin,abutcher/origin,csrwng/origin,detiber/origin,jupierce/origin,PI-Victor/origin,elyscape/origin,miminar/origin,jwhonce/origin,ncdc/origin,wjiangjay/origin,dobbymoodge/origin,willmtemple/origin,rhuss/origin,tnozicka/origin,nhr/origin,rootfs/origin,ncdc/origin,dinhxuanvu/origin,rajatchopra/origin,jeffvance/origin,sjug/origin,nak3/origin,detiber/origin,tagoh/origin,jeffvance/origin,akram/origin,jwhonce/origin,elyscape/origin,JacobTanenbaum/origin,tracyrankin/origin,liggitt/origin,jpeeler/origin,smarterclayton/origin,dcbw/origin,mahak/origin,markllama/origin,jsafrane/origin,miminar/origin,jprukner/origin,markllama/origin,coreydaley/origin,goern/origin,adelton/origin,childsb/origin,mdshuai/origin,pweil-/origin,sallyom/origin,rhcarvalho/origin,rhcarvalho/origin,chmouel/origin,jeremyeder/origin,rootfs/origin,marun/origin,openshift/openshift-sdn,thrasher-redhat/origin,aveshagarwal/origin,tagoh/origin,luciddreamz/origin,luciddreamz/origin,robertol/origin,legionus/origin,spadgett/origin,rhuss/origin,chlunde/origin,pravisankar/origin,adelton/origin,sg00dwin/origin,chlunde/origin,dcbw/openshift-sdn