Changed factory to add the building to the players building list.  
Updated player to have a chargeforproduction method
Updated GameObject to have a reference to owner
Updated Stats to have a production cost variable
Updated unit to have a getproductioncost method
Added testresources
Fixed TestMerchant, which broke from changes
Factory now charges resources for creating a building, and checks if
there are enough resources to build it
Added more Tests