Handle invalid inputs in "start swarm" form better

With this change, the user will now see an alert with an error message if the inputs in the "Start new Locust swarm" or "Change the locust count" forms are invalid. Validation before sending it to the backend would be even better, but this is an easy stopgap so that the user at least sees *something* happen after clicking "start".