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.

breznak/nupic,breznak/nupic,breznak/nupic