Make testing.py classmethods into attributes.

There are a couple of classmethods in `testing.py` that should really be class attributes instead.  I fix that in this PR, including updating usage.

`get_ipcluster_size()` -> `ipcluster_size`
`get_comm_size()` -> `comm_size`