Add kernel version detection to emulator

Different Linux kernels require different handling by the emulator.

Modified emulator to scan compressed/uncompressed kernel images for
a 'Linux version ' string.  Manually tested on all prebuilt kernel
images and added basic unit tests.

Change-Id: Icecfb048e9184fd983799d0975215448feba8e08
11 files changed