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?

@czue We can put this view in similar way that is used by custom reports e.g. http://localhost/a/ilsgateway-test-1/reports/custom/ilsgateway/ils_config/ but then it won't appear in commtrack navigation panel. Only access will be by typing it directly in browser. What do you think about this idea?