(Issue #1) Properly handle buildings when they are overwritten.

Harvest tasks and Building tasks are now made obsolete when the building
is overwritten. Note, new behaviors need to be assigned the proper
building, and buildings need to have the behavior added to the list of
active behaviors for this to work.