App Cloning fixes for Sharesheet

This Cl adds the following:
1. Fixes a bug where if a cloned app has initialIntents and launches sharesheet,
   initialIntents would always resolve in user 0 (personalProfileHandle) instead
   of clonedProfileHandle
2. TODOs mentioned in ag/20982903 addressed.
3. Test cases added.

Test: atest ChooserActivityTest, atest ResolverActivityTest
Change-Id: Iedb24d8775d08319b136d96d7ffff1665a1b0748
11 files changed