Removed code repetition.
Merge pull request #3 from bfad/master

Merging with errors, will post correct.
Added ->columntypes::map to ds_result (no overhead unless called). This should eventually trickle down to ds_row — can sit here for the time being. Tidied up imported changes.
Added ->columntypes::map to ds_result (no overhead unless called). This should eventually trickle down to ds_row — can sit here for the time being. Tidied up imported changes.
Now ds->updaterow joins ds->addrow in allowing for data passed as staticarray