Please merge ash/13w43 fixes, fix for Issue #16 , #17 .and #29

This branch contains below fixes

Issue #16 : clean up of the code releated to database connectivity

Issue #17 : NullPointerExeption is not catched at many places while using DbContainor.createConnection()

Issue #29 : Already Registered users should be checked first then values should be set to objects