This removes the dependency on the utf8-string package (except for ghc<7.4.1). A few minor encoding/decoding corner cases were also fixed.