Fix for OsmAnd project bug that throws array out of bounds error when editing the qaypoints list

The additional methods support changes in the OsmAnd project to fix an
exception thrown when the waypoints list are edited (particularly if
Destination is selected for removal). Code changes and a pull request
have been provided to both projects
Merge pull request #2 from michc/master

Add 2 new methods for TargetPointHelper