Made config dict a WeakRefDictionary

(see http://nbviewer.ipython.org/urls/gist.github.com/ChrisBeaumont/5758381/raw/descriptor_writeup.ipynb
for reasoning)