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?

ILSGateway is a project, right? Assuming yes, I'm not sure why this is needed the CommTrack core views. Can you explain that?