constants: Fix bugs, use gold instead

Gui tests actually did complain about a resource that's not in our
database.
buildings: Only define unique id once (in constants)

This should be better.