Update AppDataDirGuesser for BaseDexClassLoader

Since Jelly Bean 4.3 the toString of a BaseDexClassLoader has had a
different format. Update the AppDataDirGuesser to understand that
format.

Refactor the AppDataDirGuesser to allow unit-testing of the toString
parsing. Add testing for some well-known values, and a "continuous"
test for API levels >= 17.

(cherry picked from commit 4aa9d46e6f9da21ae73f4d6bf89f5134c358c69e)
Bug: 20298770

Change-Id: I33d105378cb581523ed9df0e4fa1163a15cdebb2
2 files changed