DSUService: Deduplicate InstallUserdata() and InstallScratch()

Factor out common code and some minor polishing.

Bug: 165471299
Test: Fire a DSU installation and observe logcat
Change-Id: Ia13db74c038e49d888e69e43b59ab0ad5b078464
1 file changed