libraries/twi: added 'extern "C"' wrapper
updated repository to use twi.h instead of Wire.h