map: Improve handling of resources

Expand map data to always include resource field. This means that resources don't have to be moved when a building/flag is built (moving resources was not previously implemented).
Clean up code for map initialization of ground deposits.