Fix test suite build with GHC 7.0.x
Fix test suite execution when run under Jenkins
Merge from 1.0 branch

--HG--
rename : Data/Text/Encoding/Utf8.hs => Data/Text/Internal/Encoding/Utf8.hs