Add extract-files/setup-makefiles scripts

Change-Id: I7bc21f59bc375dc74300f2a2f743c8d868d2cbb8
Credits: CyanogenMod Team