jf: add loki

Change-Id: Ia14d2be5b395daab7d1a8c7bbbbd1c4034702230
Merge "jf: add loki" into cm-10.1
jf: align with vanilla adreno blobs

Change-Id: I6b12d42f8501a25a4a29cc29489f803af4fd42a8
jf: Improvements to Loki support

Add loki_flash targets for installing patched boot images instead of dd.
loki_flash verifies the image has been properly patched as one extra safeguard.
Update releasetools.py to add updater-script commands that mimic backuptool.sh.
Move most of the black magic out of loki.sh and into the updater-script.
loki.sh is only used to patch, if necessary, and flash a boot.img.
Update loki.sh to report when it has an error.  Use an assert to check for this.
Update nfcee_access.xml to include Google Wallet.
Update Loki LICENSE to plain text instead of HTML.

Patch Set 2: Make loki.sh exit 1 in case of an invalid bootloader.
Patch Set 3: Remove /system/etc/valid_bootloaders after install.  It serves
no purpose outside of installation.
Patch Set 4: Redo patch set 2.  Update loki.sh to support developer models by
flashing an unpatched boot.img when a non-Loki bootloader is detected.
Patch Set 5: Minor style cleanup.
Patch Set 6: White space cleanup in loki_flash.c.  Revert Google Wallet change.

Change-Id: I18e7717c6f459af20e629d4b806599e9a8dca356
jf: clean up loki some more

* use files already extracted to /system/bin no need to extract to /tmp
* remove flashing a virgin boot.img this shouldn't be done in any case

Change-Id: I1a93a8d5f5a9754852dbab305ecf2d45856732f8
jf-common: loki remove blank line from valid_bootloaders

resolves egrep SEGV in bionic libc

Change-Id: I3643fef88d81100b766ea8ff92c1d04c17575be1
Merge "jf: clean up loki some more" into cm-10.1
Merge "jf: align with vanilla adreno blobs" into cm-10.1
Merge branch 'cm-10.1' of https://github.com/CyanogenMod/android_device_samsung_jf-common into cm-10.1