Change iterative to algorithm in slot allocator
Also store the slots in program model instead of in each org.
Patch by: Sverre Rabbelier
"""Multi-consumer multi-producer dispatching mechanism
Originally based on pydispatch (BSD) http://pypi.python.org/pypi/PyDispatcher/2.0.1
See license.txt for original license.
Heavily modified for Django's purposes.
"""
from django.dispatch.dispatcher import Signal