Max task par fixes

This fixes several failures associated with https://github.com/chapel-lang/chapel/pull/156. The specific changes are as follows.

runtime/src/chplsys.c
Fix a failure in modules/standard/machine/numCores: the scheduling affinity used to determine how many PUs there are on the node should be that for the calling process, not pthread.

test/localeModels/gbt/maxTaskPar.prediff
Fix failures in this test: treat cray-xc and cray-xe targets in the same way as linux ones, and use hwloc's lstopo utility to produce the .good file for locModel=numa and tasks=qthreads.

modules/sungeun/init/printInitCommCounts.chpl
Fix a failure in this test: adjust the comm counts to reflect the addition of the maxTaskPar member to the locale model class.