Issue#60

It was hardcore, but almost all memory leaks were eliminated (quering pool for 200k times don't change memory allocated size).

GDC compilation is temporally dropped off.

Major points:
* forget about __gshared or maps with __gshared
* precise control of resource freeing in ALL branches
* use classes for long living abstraction and for long living functions