add importlib as a dependency for python <= 2.6 and 3.0
fix widgets safe_import on python 3.2