common: add modifications canonical did as part of their phablet project

See https://code.launchpad.net/~phablet-team/phablet-extras/llibhybris for more details
and commit history.

Taken from revision 122.

Signed-off-by: Simon Busch <morphis@gravedo.de>