Fix compile tests on linux gcc 4.8.1.

 Add include guard (pragma once) in boolinq.h, remove gmock include directives, add explicit include of <climits>, comment code which use std::vector of const int, clarify typenames inside utility templates.