handle non unicode input in match_value_dataset

* convert str into unicode
* fixes issue #4120
fix str.format() patterns to work in python <=2.6

* <=py2.6 require str.format() fields to be named/numbered
Merge pull request #4121 from dmwm/adjust_input_fixes

fixes to  adjust_input