Make Wire library error safe

by adding timeout into twi and giving the user a way to use them.

Full retrocompatible.