Scope stack instead of smart pointer.

ScopeStack based on Andreas Fredriksson's implementation:
http://dice.se/publications/scope-stack-allocation/