Add extract-files/setup-makefiles scripts

Change-Id: I322d9c869ddd8bbfed60cef13c154f1e0daf4505
Credits: CyanogenMod Team