Fixing auto-scaler issue when primary enabled - PAAS-55

Auto scaler separately identifies member count for primary members and non-primary members when executing min-check rule.

Improved boot.sh to wait until ports are active when starting servers