Use  interceptor and jquery events to catch status of requests
Active appcache only in prod mode
Merge pull request #1671 from geoadmin/dev_wait

Use  interceptor and jquery events to catch status of requests