Allow passing query to flightStage.teamsAdvancing

Allow passing query to `flightStage.teamsAdvancing()`.

This is needed for advancement reset. (`previous=0`)

This change is backwards compatible.  (If `query1 is a function, it's moved to `callback`)
Could also be:
`&& arguments.length == 1`, but that only saves one column. :)