Removes all usages of synchronous ajax requests and adds a deprecation note for it.
With #11756 the possibility for synchronous ajax will be removed in Matomo 4 finaly.
refs #8246
Note: Will try to fix the UI tests soon. Seems they are failing as no synchronous request is blocking. Maybe need to add some more wait times