bug fix reading scandef
making sure "use" is passed to DB as an int
fix_filename requires non-unicode (for str translate)
ensure int args are ints, add set_dwelltime() method
using det.set_dwelltime()
several fixes for units and Column.I header
scan_gui needs to give db connection args