Add a clear all notifications effect

bugzilla bug 
https://bugzilla.mozilla.org/show_bug.cgi?id=1092536 

I implement a simple slide to right animation,
I changed the ns_closeNotification in a backward compatible way, so that when no delay are passed it will just work as before (if you try to swipe for example the new effect doesn't collide).
On the other hand you can now pass a delay and a waitBeforeClosing parameter, and if you do, there will be a percentual TranslateX applied to each notification.

The waitBeforeClosing is needed to avoid the animation that will trigger when a single notification get removed.
Another solution would have been to start from the bottom, but that's just does not feel natural.

I think I get what's going on here, but just to be sure, could you explain it to me? (maybe a comment above this block would be good actually)