The nursing home of the future may be less like a hospital and more like spending your last years at home.