DSL: functions to define column value mappings

And more complete study import
Get rid of clj-xpath compatibility hacks