Addressed review comments for #752.

- Added internal readers-writers lock in
  MarathonHealthCheckManager.
- Cleaned up unnecessary pattern matching.
- Removed unused constructor param of type
  AppRepository in MarathonHealchCheckManager.
- Other minor refactoring.