Check if time_period exists. Add to allocation task.

	modified:   service/allocation.py
	modified:   service/instance.py
	modified:   service/tasks/allocation.py