You've probably seen the videos online. A mopey dog is lying around, unenthused and uninspired, until its long-lost master returns from college or vacation or an overseas deployment, whatever the case may be. Suddenly the pooch is a puppy again, jumping up and down, tail wagging furiously, a bundle of energy and euphoria.