kernelassimilator: boot.img HOT-FIXer for 3rd party kernels

Adopted a backup-tool-esque design, where /system/etc/init.d/kernelassimilator.d contains
shell scripts that define the functions:
	requires_modifications:   returns 0 (success) when the script needs to change something, or 1 if it does not
        apply_modifications:      if modifications were required, it's called inside the directory containing the unpacked ramdisk

Presently, 00bootclasspath fixes telephony-msim.jar being missing from
   some kernel's boot.img's init.environ.rc. When the change is applied,
   zygote and its band of merry optimizers all meet a violent end, so that
   dalvik-cache can be hot-wiped and stay wiped until the post-fix
   reboot happens

For loki-enabled devices, a loki-reversal executable (loki_unpatch) is required
   https://github.com/VanirAOSP/device_qcom_common/commit/4edd3a013b2e2beadcb9f480bd1cc458a20a97d1

Procedure applied when necessary:
1. if !(loki device) goto 4
2. un-loki /boot
3. goto 5
4. dump /boot
5. unpack boot.img
6. extract ramdisk
7. APPLY MODIFICATIONS TO RAMDISK
8. compress ramdisk
9. mkbootimg
10. if (!loki device) goto 14
11. loki_patch boot.img
12. loki_flash boot.img
13. goto 15
14. dd boot.img to /boot
15. reboot
16. profit

Signed-off-by: nuclearmistake <nuclearmistake@gmail.com>
Change-Id: Idff7c3d8d2eba2f651a956a26cea9780d26836b6