Removed apache commons dependencies by providing own specific unencoding and reading of file to string

Hi,

I've written a test while you were writing it too :-) Mine is split into different methods. Additionally I have removed the dependencies that you added to keep the lib self contained. Merge what you like.
(Sorry, that I forgot to switch of auto formatting)

Kind Regards,
Johannes