[python] search w/cost returns (path,cost)
[cmake] add python/test options
Merge remote-tracking branch 'upstream/master'