db tasks re-factored

* easy to add new multi-keyval data format
* more structured one-way invocation of DBTasks by 0MQ and HTTP handler