Django 1.5+ support and test updates

These changes allow this library to operate appropriately on Django 1.6.2. Also included are updates to the tests since factory_boy was updated.