Fixed problems with Stack and enhanced it.

- Wrong exception used
- Unknown exception created
- Minified ArrayAssemblerInterface and StringAssemblerInterface
- fixed bug where pipe always threw exception
- added method toArray()
Added test and wiki page for Stack