Fixed #17. 

* __gshared removed from whole my code. Contracts aren't called at all
at that mislead me. Note: __gshared is also static modificator.
* connection count reduced in tests, some connections are used for
superuser requests.
* libpq now forced to be unloaded while restarting server.
Merge branch 'issue#17' of https://github.com/DSoftOut/rpc-sql-proxy.git into issue#17