[RFC] (another) JuMPDict rewrite

Rebased against master and squashed. Still needs updates on docs, and probably some more tests as well.