Implement the config fieldsets in the discount administration without thread locals

Also, be compatible with Django 1.6.

Refs #63.