AURORA-116: Use only a single write transaction to save HostAttributes in resourceOffers.

Bugs closed: AURORA-116

Reviewed at https://reviews.apache.org/r/17351/