Fix for kernel options not propagated correctly.

Also, adds test cases for ks_meta and kernel_options_post.

Bug: 886875
Change-Id: I424bec69b2a7b1db6b6ed490b367934b765ca4d9
Merge "Fix for kernel options not propagated correctly." into develop