Match future dispatch messages with type info.

Review: https://reviews.apache.org/r/28052
Fixed future dispatch in tests to match function type.

Review: https://reviews.apache.org/r/28081
Allow mesos containerizer to destroy correctly at each state.