Major refactoring of building processing, including checking for wages before producing and closing if maintenance cannot be paid.  Lots of warning fixes, several of which caused bugs.  Removed some unused functions.  New City functions allow for gaining/losing a vector or list of resources.