Clicking the "All" history button should open ALL notices, not just the first notice displayed.

Note that there was a bug in the previous implementation because $.merge() returns a new instance so the captured notices_data variable refers to an array containing only the first opened notification.
Clicking the "Last" history button should open the most recent notice, not only the first notice ever opened. In addition, when using the "push": "top" stack option, the most recent notice is at the opposite end of the array so this should be accounted for.

Note that there was a bug in the previous implementation because $.merge() returns a new instance so the captured notices_data variable refers to an array containing only the first opened notification.

Using the defaults to get the stack value because in theory different notifications could be opened on different stacks, so we have to really on the default to determine if we are pushing to the top.
Revert "Clicking the "All" history button should open ALL notices, not just the first notice displayed."

This reverts commit 498e448c7fd9a20b46326a107ebebd355255ef7b.
Revert "Clicking the "Last" history button should open the most recent notice, not only the first notice ever opened. In addition, when using the "push": "top" stack option, the most recent notice is at the opposite end of the array so this should be accounted for."

This reverts commit 32c35e678c3a590940b8918aaf445808abb349d1.
When displaying the last / most recent notice while using the "push": "top" stack option, the most recent notice is at the opposite end of the array so this should be accounted for.
Merge pull request #89 from SonofNun15/fix_history_buttons

Fix for "All" and "Last" history buttons