Ilsgateway bugs

@czue I fixed this bug: http://manage.dimagi.com/default.asp?134684#755968

Also I've changed a little bit checkpoint functionality. I've added table to ILSGateway config view to follow status of checkpoint. Could you merge this with staging?

I'm asking this here, but the question really applies to the entire PR, which seems to be polluting commtrack core with references to a custom project.