Simple util to create an object with its keys mirrored as values. Standalone port of react/lib/keyMirror.