Use OrderedDict in vdf where available, encode parser input

Since order matters for many things in steam it's preferable
that the dicts given be ordered for the sake of proper interpreting
and reserialization.