Refactor DBObject methods for better performance.
Merge branch 'master' of https://github.com/dell-oss/Doradus into DBObjectPerf