Move linking and directory creation logic to installd.

bug: 20889739

Change-Id: I1763376a2fbb25f3a3d55f60c1940cdbddcded07
2 files changed