* added a true reset function to class Edict
* added index parm to Edict::init()
* reduce scope