Updates to support cluster compute instances.

This commit adds a flag to the ec2 script to specify the number of slots,
and incresaes the number of threads used by the thrift servers to support
up to 16 cores.