Fix utfate decoder.
Add passing encode and decode tests.
Update readme with TODOs.