API: Ability to access list of claims and locations of both points in a claim

It would be useful if those two things would be in API for other plugins to access. 

If you are afraid of other plugins messing this up, make public functions instead that would return clone of those variables.