Added adapter.connect functionality. Refactored adapter initialization.
Added connection tests
Fixed connection pool.
Merge pull request #73 from jugglingdb/refactoring/connect-reconnect

Refactoring/connect reconnect