Handle apks that utilize Shared Resources

 - shared resource is currently hardcoded to pkgId 2 like AOSP
 - merry christmas
[tests] adds tests for shared resources & framework tagging
[skip] code style updates
[skip] remove test files after completion
as apks get bigger, our memory footprint grows.

 - lets move to 512mb