refactored and simplified CanBuild

Reduced awkward gap between spending resources and building by making resource spent when you construct instead of click on gui.
Fixed bug where if you set a building and open the build menu again, it will construct if you try to set another building
Changed costs according to Buildings google doc

added arbitrary energy costs because they were not defined
Merge remote-tracking branch 'origin/master'