[weightmap] Add an index function.

index = x + y * width (useful and readable)
[exploration] Add a new frontier detector.

Use for exploration planning using frontiers.
Also compute the frontiers attributes.
[test] Exploration unit test.
[python] Exploration Python bindings and API.

Thanks to Pierrick Koch for his review and help.