d2-common: New C2D2 library
split from: https://github.com/TheMuppets/proprietary_vendor_samsung/commit/d2cc5f898538ad5747eb160d7b5e9faf8156b39e
Signed-off-by: Luis Cruz <ljc2491@gmail.com>

Change-Id: Iab5825f108df8daec1da3411c88bed27ebb0c60c