Derp.
Let's not give anyone any ideas.
Clean up some weakref stuff

I think this has slowed everything down terribly but I'm not sure what
else to do.
Add cleanup method to localfilestorage. Remove excessive spaces from json dump
Some cleanup/consistency. Still have quite a bit to do to ensure that generation-skipping links are working