Because of overcrowding, dogs at the Manhattan shelter are being kept in makeshift kennels in offices and stacks of cat cages line the halls.