allow any object type to be used to contruct a dict litteral, and other improvements to dict class.