fix a typo
make r_matchref less silly
make scripts types selectable via references, explicitly cleanup item references from rpgchar::additem just in case someone is dumb enough to try and assign 'config' to another reference
cleanup r_setref commands
also safeguard against references set from 'config' in rpgcontainer's additem
remove useless hashpool query