Fixed compiler errors when compiling http-server.

I needed to add some Data.Text.pack/Data.Text.unpack calls in the HtmlForm module. Therefore I also had to add the `text` module to the build dependencies in the Cabal file.

Now the compile process runs fine, although I did not actually test the changes; however, as they only fix some type errors it should still work fine.