Functions Promise.prototype.{each, map, filter, reduce, spread} (not to
be mistaken with "static" Promise.each, Promise.map etc) are not
type-safe in a sense that they are only defined for Promisees which
contain arrays but this behavior cannot be expressed for type-checked
so the result type of them is effectively `any`.
We remove them as they introduce dangerous gaps in type safety and also
as a part of departing from Bluebird.
Improve event preview
Improve progress when saving event
Improve dropdowns
Improve dropdown placement and large dialog on mobile
Use new dropdown algorithm for old dropdowns.
Fix client tests, move color functions
Move entity types out of flow directory into the entity files.
Rename TutanotaFile into File.
Rename CalendarEventBubble attrs onEventClicked -> click because it
doesn't have access to the event.
Use domInput in Dropdown when selecting filtered result because that's
what DropdownN does.
Our current build system is not aware about any recent Flow syntax and
it doesn't know that it should transpile functionCall<type>() into
functionCall(). We have to avoid such syntax for now