Add DictMixin/OrderedDict to theano.compat in PY3.

Reordered for ease of reading (same order in if/else).