changed the way that factions are handled in buildings.

merging in first draft buildings

they can draw with sprites
they build units (when selected)