Scientists have developed a vaccine for the plague, a bacterial infection that is still very much around.