Add tests for character encodings / parsing from bytes.
Import "from bytes" tests.

Merge commit 'dd699d47d0bb8f021837f966be0528f922138b7c'
Add parsing from bytes, with rust-encoding.

New dependency: https://github.com/lifthrasiir/rust-encoding
Use rust-encoding’s new EncodeObj type.

See https://github.com/mozilla-servo/rust-encoding/commit/b9e0332e4d362eccb919c74d3e59bf6850e0fe1c
Update to upstream rust-encoding, that renamed EncodingObj to EncodingRef
Merge pull request #33 from SimonSapin/master

Add parsing from bytes, with rust-encoding.