added the upgrade costs for defense buildings and reworked the upgradePrices functions
reworked the way not needed areas on the building dialog are handled
Merge branch 'mantis-91' into dev