Revert "Remove overlay logic from package manager and parser"
This reverts commit c6778e54.
Reason for revert: This CL causes Bluetooth fail to start
Bluetooth Java services cannot turn on.
Change-Id: I4a9649d61de7781d3a00074da780c3a5a1dfbd56
Fixes: 130260055
Test: compile, BluetoothInstrumentationTests
(cherry picked from commit 61034792)