gcc/clang: fix template lookup
gcc/clang: fix template lookup

this is for adhesing to C++ coding standards,
fix unknown operator<<  ...
see http://clang.llvm.org/compatibility.html#dep_lookup
fix provided by placing a declaration (of operator<< template) before the function which
uses it.

vitaly-krugl/nupic,allanino/nupic,fergalbyrne/nupic,pulinagrawal/nupic,markneville/nupic,jcasner/nupic,ben-hopps/nupic,GeraldLoeffler/nupic,virneo/nupic,EricSB/nupic,EricSB/nupic,glorizen/nupic,go-bears/nupic,ywcui1990/nupic,runt18/nupic,rayNymous/nupic,ywcui1990/nupic,arhik/nupic,ywcui1990/nupic,akhilaananthram/nupic,marionleborgne/nupic,subutai/nupic,chanceraine/nupic,badlogicmanpreet/nupic,BoltzmannBrain/nupic,sambitgaan/nupic,brev/nupic,cngo-github/nupic,jcasner/nupic,elkingtonmcb/nupic,pap/nupic,virneo/nupic,scottpurdy/nupic,loretoparisi/nupic,eranchetz/nupic,rcrowder/nupic,blueburningcoder/nupic,breznak/nupic,go-bears/nupic,numenta/nupic,cogmission/nupic,numenta/nupic,akhilaananthram/nupic,glorizen/nupic,BeiLuoShiMen/nupic,eranchetz/nupic,scottpurdy/nupic,sambitgaan/nupic,glorizen/nupic,fergalbyrne/nupic,SaganBolliger/nupic,cngo-github/nupic,BeiLuoShiMen/nupic,chen0031/nupic,subutai/nupic,akhilaananthram/nupic,vamsirajendra/nupic,darshanthaker/nupic,neuroidss/nupic,mcanthony/nupic,arhik/nupic,lscheinkman/nupic,numenta/nupic,blueburningcoder/nupic,mcanthony/nupic,BoltzmannBrain/nupic,neuroidss/nupic,neuroidss/nupic,rcrowder/nupic,marionleborgne/nupic,wanghaven/nupic,scottpurdy/nupic,markneville/nupic,chanceraine/nupic,ben-hopps/nupic,brev/nupic,badlogicmanpreet/nupic,breznak/nupic,alfonsokim/nupic,alfonsokim/nupic,rayNymous/nupic,vamsirajendra/nupic,rhyolight/nupic,metaml/nupic,pap/nupic,chen0031/nupic,vamsirajendra/nupic,metaml/nupic,elkingtonmcb/nupic,subutai/nupic,pulinagrawal/nupic,SaganBolliger/nupic,allanino/nupic,numenta-ci/nupic,eranchetz/nupic,numenta-ci/nupic,wanghaven/nupic,darshanthaker/nupic,arhik/nupic,lscheinkman/nupic,fergalbyrne/nupic,SaganBolliger/nupic,wanghaven/nupic,go-bears/nupic,pap/nupic,ben-hopps/nupic,lscheinkman/nupic,cogmission/nupic,loretoparisi/nupic,brev/nupic,blueburningcoder/nupic,markneville/nupic,virneo/nupic,vitaly-krugl/nupic,cogmission/nupic,GeraldLoeffler/nupic,darshanthaker/nupic,pulinagrawal/nupic,runt18/nupic,alfonsokim/nupic,numenta-ci/nupic,passiweinberger/nupic,elkingtonmcb/nupic,mcanthony/nupic,marionleborgne/nupic,rayNymous/nupic,chen0031/nupic,chanceraine/nupic,allanino/nupic,passiweinberger/nupic,vitaly-krugl/nupic,passiweinberger/nupic,sambitgaan/nupic,BeiLuoShiMen/nupic,badlogicmanpreet/nupic,BoltzmannBrain/nupic,metaml/nupic,runt18/nupic,rhyolight/nupic,rhyolight/nupic,loretoparisi/nupic,rcrowder/nupic,EricSB/nupic,GeraldLoeffler/nupic,jcasner/nupic,cngo-github/nupic,breznak/nupic