i2c: atmega: implemented the master receiver

Implemented all cases concerning the I2C master receiver. This means
that the entire master I2C protocol has been implemented for the ATmega
I2C (TWI) bus.

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