QueryPoint: declare before used

The QueryPoint class was used before declared. Fixed.
RouteQuery: Code style fixes

Remove a missing comma, and reindent three lines.