Adds a "properties"-property to resources and let mods be able to prevent resources from being bartered, traded and/or tributed.
Comments by: elexis, Stan`, Nescio
Reviewed By: wraitii, Angen
Fixes #4370
Differential Revision: https://code.wildfiregames.com/D1846