2/3 Move some Shell utils to the Shared package.

Bug: 322791067
Flag: EXEMPT move only
Test: NA
Change-Id: I2023f8eb25737c9bc4ef33a18146ecebefa60752
41 files changed