Status effects

Basics for status effects added. All units now have a list of status
effects. At the start of each turn, these will be sorted by status
priority and executed. At the end of the turn they are uninvoked,
restoring normal order.