Changed RES_PORT_RETRY from 3 to 50 to reduce the chance
of failing to get a reserved port.
Fix some scaffolding issues.
Merge branch 'master' of github.com:adaptivecomputing/torque