* sloved a qt-5.1 --> 5.2 problem.
* sloved multi-thread db access problem. the databaseresource class has been
improved, for each thread, a thread-owned db connection will be cloned from main
db connection.