Now libpq is realeased while database finalizing. It fixes segfault but
not the zombie connections.

Note: sockets aren't realeased even over timout time if the application
continues to operate.
Compilation fixes for test configurations.
added warning message
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
Casting shared leads to GC deadlocks. Avoid casting for stdlog.d.
Avoiding casting shared in CPGresult. Suprise! It suddenly fixes dead
lock.
Avoiding casting shared in CPGconn.
Avoiding casting shared in PQConnection.
Merge branch 'master' into issue#17

Conflicts:
	source/server/server.d
Removed casting to shared where as possible. Made __gshared visibly static.
Merge pull request #19 from DSoftOut/issue#17

Issue #17