The banking analyst Meredith Whitney has signed a deal with Portfolio, an imprint of Penguin Group, to write a book about the growing problems in the municipal bond market.