Fixed handling of executor history on slaves.

This resolves https://issues.apache.org/jira/browse/MESOS-616.

Review: https://reviews.apache.org/r/13401