ota: Validate any installed data's signature against our own

Try to prevent incompatible-signature system quirkiness

Change-Id: I73402d963a1b57ad0ee3c68ced4f2d7f074f927f
common: Set property for the CM releasetype

Set ro.cm.releasetype based on the deteremined releasetype of the
build.

Change-Id: I2c1aa7181f42342594bd6d5dc5f5252220ed3497
otasigcheck: set verification package to com.android.htmlviewer

We need to use something that will always be there and not replaced
by other packages.

Change-Id: Ide942865f284239ae2ae2503005ccc7e8272995c
otasigcheck: include multi-digit cert indices

If the cert index is greater than 9, we still want to include it.

Change-Id: I82787e59557ae0bb7f15da16630d2b0afb7cff06
Merge remote-tracking branch 'upstream/cm-11.0' into cm-11.0