OOIION-718: raise proper errors, properly test for failing activate_deployment cases

ValueError was being raised when there were 0 sites associated with the deployment.  That case has been detected, and BadRequest with an informative error message is the new behavior.

4 new int tests have been added to verify proper error raising.