Not sure if this was just a recent API change Parse.com's end that hasn't made it over yet, but on line #30 in parseQuery.php the 'query' key in the 'urlParams' array should be 'where'.
Hey, looks like your are right! Not sure how that happened. But it was verified here: https://parse.com/docs/rest#queries-constraints
Fixed now in the latest commit