Implemented iteritems() and len().

Also, caching PyObjects on dict entry access
raising KeyError
assigning dshared.dict() entries