More convenient API: four functions changed.
Fix default arguments lost issue of findStraightPath.
Fix a logic error of dtQueryFilter.