Refactored DO Adapter code
Refactored DO Adapter code

* Reused same method to generate list of columns for SELECT as for
  the GROUP BY statement
* Minor change to Model#load to make conditional check easier to read

basex/ardm-do-adapter,datamapper/dm-do-adapter