Split MypyEventHandler.on_modified into smaller components
Split MypyEventHandler.on_modified into smaller components

This hopefully makes it easier to understand and to test.

nylas/mypy-tools,nylas/mypy-tools