CB-8086 Fixed framework tests.

Installing and uninstalling frameworks now read AndroidManifest.xml to
get the package name; the readFileSync fakes are updated to reflect
this.