remove var_type

I dislilke the import inside a function at the end of value.py. And solutions?

test_settings.py works as well as before: 4 tests fail. Did someone play with widget settings lately?