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
Fixed minify script so that it can be run from any working directory.
Implemented AMD / Require.JS support. Closes #106.
Fixed build release script to be able to be run from any working directory. Also made it zip up a folder instead of just the files. Closes #97.
Fixed the bug where notices don’t position correctly when the top notice is positioned at 0px. Fixes #70.
Added more clarification to notice stacks documentation.
Updated bower.json. Closes #86.
Changed name in bower.json back to just pnotify. Also some reformatting.
Added an optional context to stacks. Closes #94. Closes #10.