i2c: atmega: implemented the master transmitter

Implemented the master transmission code for the ATmega I2C bus.
Transmissions are handled in an IRQ handled (which cannot EVER be
threaded!). All cases for master transmission are implemented now.

Signed-off-by: Michel Megens <dev@michelmegens.net>