Reformat mesosSim.cpp with clang-format
Move split and intersect to shared.cpp
Rearrange includes and other small changes in mesosSim.cpp
Store total resources in Resources and use its operators.
Fix compile errors.
Remove Msg, and perform event dispatch with subclassing.
Fix bug in resource subtraction.
Refactor OfferEvent::Run
Merge branch 'master' of github.com:frankli714/mesos-simulation