Surprise: Guild plans to buy the South Portland-based Residential Mortgage Services through a three-year earnout valued at $197 million...