unpackbootimg: Add support for device trees

Change-Id: I340eed99d2274a2f4cbaf5a9f27726ff3a9302e5
Merge remote-tracking branch 'cyanogen/cm-11.0' into cm-11.0