If you’re planning to install or upgrade your living room sofa to one that can, with a few twists and flips, morph into a bed, there are some things to consider before you take the financial plunge.