Save my Fava Beans!

I'm growing fava beans in a container on a second-floor balcony.

For a while I'd been seeing one or two ants in them, but I'd never heard of ants being a serious garden pest, so I didn't worry. But this morning they were all over!

Even worse, they seem to be eating from these little brown spots that have appeared right at the base of many of the flowers and branches.

Questions: