Add i2c source and header files, i2c.c:i2c_getadapter()

i2c.c is intended to contain functions which will provide abstractions
for the interaction with the i2c-dev interface.

i2c_getadapter() returns the dynamically allocated virtual adapter number
by passing the physical bus address of the i2c bus.