Apply fixes from 4796af1fa7 to old php-lint Ant target

parsekit has become (or always was) unreliable by causing segfaults
so we're going back to using ant and php -l.

Also removed unused gitsqlhaschanged property.

Change-Id: I8f8dfc2ca96072190dc61869aa7597e6a3924121