fix($ionicLoading): stop race condition with show and hide

Fixes #1100.
fix($ionicPopup): stop race condition with show then hide

Addresses #1100.
refactor(ionInfiniteScroll): stop error on destroy