Modernize much of the code in rb-extension-pack.

Most of the extensions weren't compatible with Django 1.6, due to legacy
imports. I've fixed those, updated the extensions to use
initialize() instead of __init__(), and removed some bad practices
(like assigning a hook to a variable on the extension, which wasn't
necessary or even a good idea).