Use  interceptor and jquery events to catch status of requests

Since we use $http interceptor in gaNetworkStatus. I think we can use the same method for the managemant of wait cursor.

Test [here](http://mf-geoadmin3.dev.bgdi.ch/dev_wait/) 

Compare without spaces https://github.com/geoadmin/mf-geoadmin3/pull/1671/files?w=1 because there was a false indentation in SearchDirective

Fix #1668  

It seems when in offline mode, we always have the waitcursor. This is annoying (at least on desktop). See https://github.com/geoadmin/mf-geoadmin3/issues/1695 on how to easily create offline mode while online :)