The rising popularity of weight-loss apps and how technology can help get you fit.