Import code from system/bvb repo and relicense to MIT.

BUG=29099910
TEST=Unit tests pass.

Change-Id: Ifc8615752aa6d62e7e6b9037491daa140bb36765
31 files changed