support custom boot img and other additions pulled from cm10.2

Change-Id: I6852a92292086445880648c0eac92c3c78a54778