EXP-136. Implement a trainer for linear regression models.

issue: https://jira.kiji.org/browse/EXP-136
review: https://review.kiji.org/r/1125