Fix dict encoding and incorrect test. Bencoded dicts must encode the keys in sorted order.
Merge pull request #1 from hydrogen18/master

Fix dict encoding and incorrect test. Bencoded dicts must encode the key...