changed the way that factions are handled in buildings.
Merge pull request #3 from Jbtyson/building-fix

changed the way that factions are handled in buildings.
Merge pull request #5 from Jbtyson/master

Merging master into buildings.