added code to support maxWait
added more tests.
added connectionpool test
more tests, added connection creation thread, moved Beans.xml to proper location