Recovery: Loki patching support

Add support for automatically checking and making loki images
for locked bootloader bypass on loki supported devices. Loki
support is enabled with ENABLE_LOKI_RECOVERY.

Change-Id: I81fe267d58f0dda18a790e25df223f011dca3e37
Merge "Recovery: Loki patching support" into cm-10.2
xiaolu modify