EWS and ILSGateway custom modules refactoring

This isn't something that really needs to be fixed, but in general, it's considered more proper in python to only do:

`if MigrationCheckpoint.objects.filter(domain=project):`

This will evaluate to `True` if there are any objects found by the filter, and `False` if not.