Copy StringPool to framework

As a part of libcore internal api cleanup, StringPool class is being
removed from SystemApi surface. The only user of StringPool is
JsonReader from framework, so copy StringPool there.

Bug: 154796679
Test: m update-api
Change-Id: I466038ac55fd11b348dc83355edb0ea80ca3f6b5
3 files changed