Add getLatestEntry($guid) to get the latest history entry for a given $guid

The SQL version is very efficient since it does not need
to loop through all history entries for the object
to determine the latest entry.

Request 12558

Signed-off-by: Michael J Rubinsky <mrubinsk@horde.org>
cs, ws
Bump minor version, we added a new public method.
CHANGES