Use STORE_LOCALS instead of `dict.update` when creating classes.

Python 3.4a0 does the implicit equivaled of STORE_LOCALS in __build_class__, and this is the easiest way to make sure the code works on both 3.3 and 3.4.