Allow the database to do our work

No point in selecting an entire list, or manually
finding the maximum updated value.
Merge pull request #443 from candlepin/ckozak/gethost_hibernate

Allow the database to do our work