LPS-32110 Remove unused variable definition.
LPS-32110 Add layout.ftl for two reasons:1) improve performance of ftl by decreasing the use of array from Freemarker 2) prepare for remove dependency in groups.ftl
LPS-32110 Calculate publicPageCount, remove the dependency in groups.ftl.
LPS-33447 Windows has a buggy nio socket half close impl, a shutdownInput/Output will cause a full socket reset on the peer side. Remove the half close logic in this test to be tolerant for windows.