Fixed Repast being slow.

Behaviours are now scheduled together. The class BehaviourAction
contains a list of behaviours that are activated manually. The list is
always shuffled on each tick.