update db class
Merge branch 'master' of http://git.oschina.net/lucups/SixFramework
fix some bugs in db class, update db connection style