MOB-2275 Calculate background color for map tiles' sets

Generally the idea was to be compatible with mustache/handlebars and I think Rafal is currently working on replacing our replace with mustache or handlebars.