Fix some reference leaks

Not 100% sure about all of these, but this should take care of at least some of the leaking memory. I'm pretty sure that the main cause of the leak though is this static dictionary for the fake ivars - should you be using [Associated Objects](http://blog.andymatuschak.org/post/173646741/your-new-friends-obj-c-associated-objects) instead?